mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
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:
parent
4d2d2f285b
commit
622c7a021b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user