Check the opacity of the right actor
When determining if the window is opaque or not, look at it's opacity, not the opacity of the window group. Reported by Matthias Clasen http://bugzilla.gnome.org/show_bug.cgi?id=591836
This commit is contained in:
parent
91baf552cf
commit
f03d39eefb
@ -136,7 +136,7 @@ mutter_window_group_paint (ClutterActor *actor)
|
|||||||
|
|
||||||
mutter_window_set_visible_region (cw, visible_region);
|
mutter_window_set_visible_region (cw, visible_region);
|
||||||
|
|
||||||
if (clutter_actor_get_paint_opacity (actor) == 0xff)
|
if (clutter_actor_get_paint_opacity (CLUTTER_ACTOR (cw)) == 0xff)
|
||||||
{
|
{
|
||||||
GdkRegion *obscured_region = mutter_window_get_obscured_region (cw);
|
GdkRegion *obscured_region = mutter_window_get_obscured_region (cw);
|
||||||
if (obscured_region)
|
if (obscured_region)
|
||||||
|
Loading…
Reference in New Issue
Block a user