From a1165093019482e925b03aa4f76b61f9072ed45b Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Wed, 8 Oct 2014 23:07:41 +0200 Subject: [PATCH] meta-surface-actor-x11: Detatch the pixmap in window_decorated_notify The window can change its decoration without changing its size. https://bugzilla.gnome.org/show_bug.cgi?id=738146 Found by Jasper St. Pierre --- src/compositor/meta-surface-actor-x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor/meta-surface-actor-x11.c b/src/compositor/meta-surface-actor-x11.c index 3563f96ad..8af5ca2c8 100644 --- a/src/compositor/meta-surface-actor-x11.c +++ b/src/compositor/meta-surface-actor-x11.c @@ -383,6 +383,7 @@ window_decorated_notify (MetaWindow *window, { MetaSurfaceActorX11 *self = META_SURFACE_ACTOR_X11 (user_data); + detach_pixmap (self); free_damage (self); create_damage (self); }