title: How to resize a pixmap with XLib?
body: <p>I'm using a pixmap as a window's backup in order to restore it under expose events. When the window is resized, must I resize the backup pixmap?</p>
  
  <p>If so, what is the best way? Create a new pixmap with the new size?</p>