mirror of
https://github.com/brl/mutter.git
synced 2025-03-10 13:25:05 +00:00
Revert "window-actor: Ensure we always have a valid shape_region"
This reverts commit 07273a075d0465632669f5ffec39443542a80e97.
This commit is contained in:
parent
e48c3dac87
commit
d48df249c9
@ -155,8 +155,6 @@ static gboolean meta_window_actor_get_paint_volume (ClutterActor *actor,
|
|||||||
static void meta_window_actor_detach (MetaWindowActor *self);
|
static void meta_window_actor_detach (MetaWindowActor *self);
|
||||||
static gboolean meta_window_actor_has_shadow (MetaWindowActor *self);
|
static gboolean meta_window_actor_has_shadow (MetaWindowActor *self);
|
||||||
|
|
||||||
static void check_needs_reshape (MetaWindowActor *self);
|
|
||||||
|
|
||||||
G_DEFINE_TYPE (MetaWindowActor, meta_window_actor, CLUTTER_TYPE_GROUP);
|
G_DEFINE_TYPE (MetaWindowActor, meta_window_actor, CLUTTER_TYPE_GROUP);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -361,10 +359,7 @@ meta_window_actor_constructed (GObject *object)
|
|||||||
}
|
}
|
||||||
|
|
||||||
meta_window_actor_update_opacity (self);
|
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);
|
meta_window_actor_update_shape (self);
|
||||||
check_needs_reshape (self);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user