mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
meta-window-actor: Correctly create a new pixmap when redirecting a window again
We should call meta_window_actor_detach not meta_window_actor_queue_create_pixmap to create a new pixmap when we redirect a previously unredirected window again. https://bugzilla.gnome.org/show_bug.cgi?id=693042
This commit is contained in:
parent
1cebe19bbe
commit
2ecc50af53
@ -1217,7 +1217,7 @@ meta_window_actor_set_redirected (MetaWindowActor *self, gboolean state)
|
|||||||
meta_error_trap_push (display);
|
meta_error_trap_push (display);
|
||||||
XCompositeRedirectWindow (xdisplay, xwin, CompositeRedirectManual);
|
XCompositeRedirectWindow (xdisplay, xwin, CompositeRedirectManual);
|
||||||
meta_error_trap_pop (display);
|
meta_error_trap_pop (display);
|
||||||
meta_window_actor_queue_create_pixmap (self);
|
meta_window_actor_detach (self);
|
||||||
self->priv->unredirected = FALSE;
|
self->priv->unredirected = FALSE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user