mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00: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",
|
"allocation-changed",
|
||||||
G_CALLBACK (surface_allocation_changed_notify),
|
G_CALLBACK (surface_allocation_changed_notify),
|
||||||
self);
|
self);
|
||||||
|
meta_window_actor_update_shape (self);
|
||||||
|
|
||||||
g_signal_connect_object (window, "notify::decorated",
|
g_signal_connect_object (window, "notify::decorated",
|
||||||
G_CALLBACK (window_decorated_notify), self, 0);
|
G_CALLBACK (window_decorated_notify), self, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user