destroy the glxpixmap when it is gone
authorDerek Foreman <manmower@gmail.com>
Sun, 3 Feb 2008 17:54:46 +0000 (12:54 -0500)
committerDana Jansens <danakj@orodu.net>
Mon, 4 Feb 2008 14:33:30 +0000 (09:33 -0500)
loco/loco.c

index cabf57e..00f1795 100644 (file)
@@ -398,6 +398,7 @@ static void hide_window(LocoWindow *lw, gboolean destroyed)
 {
     /* if destroyed, then the window is no longer available */
     lw->visible = FALSE;
+    destroy_glxpixmap(lw);
 }
 
 void COMPOSTER_RAWR(const XEvent *e, gpointer data)