[mutter/wayland] window-actor: Update shape at construction time



commit 622c7a021bad8ea0c5256e72156a3a512ba847de
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Dec 4 09:50:17 2013 -0500

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index ab260fa..325ec21 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]