Commit 622c7a02 authored by Jasper St. Pierre's avatar Jasper St. Pierre

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...
parent 4d2d2f28
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment