From 622c7a021bad8ea0c5256e72156a3a512ba847de Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 4 Dec 2013 09:50:17 -0500 Subject: [PATCH] window-actor: Update shape at construction time When we attach an existing surface actor, the allocation may not change, so we need to ensure that the shape region and geometry is valid... --- src/compositor/meta-window-actor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c index ab260fa21..325ec2135 100644 --- a/src/compositor/meta-window-actor.c +++ b/src/compositor/meta-window-actor.c @@ -420,6 +420,7 @@ meta_window_actor_constructed (GObject *object) "allocation-changed", G_CALLBACK (surface_allocation_changed_notify), self); + meta_window_actor_update_shape (self); g_signal_connect_object (window, "notify::decorated", G_CALLBACK (window_decorated_notify), self, 0);