mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Fix order of pixmap = None and XFreePixmap() in last commit
The last commit set MutterWindow->priv->back_pixmap to None before calling XFreePixmap on it. Fix.
This commit is contained in:
parent
0b3327f04d
commit
15a214e435
@ -1028,10 +1028,10 @@ mutter_window_detach (MutterWindow *self)
|
||||
if (!priv->back_pixmap)
|
||||
return;
|
||||
|
||||
priv->back_pixmap = None;
|
||||
clutter_x11_texture_pixmap_set_pixmap (CLUTTER_X11_TEXTURE_PIXMAP (priv->actor),
|
||||
None);
|
||||
XFreePixmap (xdisplay, priv->back_pixmap);
|
||||
priv->back_pixmap = None;
|
||||
|
||||
mutter_window_queue_create_pixmap (self);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user