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...
This commit is contained in:
Jasper St. Pierre 2013-12-04 09:50:17 -05:00
parent 4d2d2f285b
commit 622c7a021b

View File

@ -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);