[mutter] Check the opacity of the right actor
- From: Owen Taylor <otaylor src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [mutter] Check the opacity of the right actor
- Date: Fri, 14 Aug 2009 20:03:25 +0000 (UTC)
commit f03d39eefbb72334542193d552e991edd1a2a948
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Aug 14 15:52:30 2009 -0400
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
src/compositor/mutter-window-group.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/mutter-window-group.c b/src/compositor/mutter-window-group.c
index 2436edf..e89327e 100644
--- a/src/compositor/mutter-window-group.c
+++ b/src/compositor/mutter-window-group.c
@@ -136,7 +136,7 @@ mutter_window_group_paint (ClutterActor *actor)
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);
if (obscured_region)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]