summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel Gadllah <adel.gadllah@gmail.com>2014-10-08 23:07:41 +0200
committerAdel Gadllah <adel.gadllah@gmail.com>2014-10-08 23:11:47 +0200
commita1165093019482e925b03aa4f76b61f9072ed45b (patch)
tree45712eb74f07876257acde8e6889f546e38b1184
parentead79f834c7eada35228d27b694d8050302981d6 (diff)
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 <jstpierre@mecheye.net>
-rw-r--r--src/compositor/meta-surface-actor-x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor/meta-surface-actor-x11.c b/src/compositor/meta-surface-actor-x11.c
index 3563f96a..8af5ca2c 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);
}