mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
meta-window-actor: Make sure that the shape_region is always set
Start off with an empty region to make sure that the shape_region is always set even for unredirected and frozen windows. https://bugzilla.gnome.org/show_bug.cgi?id=693482
This commit is contained in:
parent
a362c08f4e
commit
1c680be11a
@ -362,9 +362,9 @@ meta_window_actor_constructed (GObject *object)
|
||||
|
||||
meta_window_actor_update_opacity (self);
|
||||
|
||||
/* Force a reshape to ensure that we always have a set shape_region. */
|
||||
meta_window_actor_update_shape (self);
|
||||
check_needs_reshape (self);
|
||||
/* Start off with an empty region to maintain the invariant that
|
||||
the shape region is always set */
|
||||
priv->shape_region = cairo_region_create();
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user