diff --git a/src/compositor/mutter-window.c b/src/compositor/mutter-window.c index eb90c9d90..35817495a 100644 --- a/src/compositor/mutter-window.c +++ b/src/compositor/mutter-window.c @@ -1028,10 +1028,10 @@ mutter_window_detach (MutterWindow *self) if (!priv->back_pixmap) return; - XFreePixmap (xdisplay, priv->back_pixmap); priv->back_pixmap = None; clutter_x11_texture_pixmap_set_pixmap (CLUTTER_X11_TEXTURE_PIXMAP (priv->actor), None); + XFreePixmap (xdisplay, priv->back_pixmap); mutter_window_queue_create_pixmap (self); }