summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-05-16 09:39:51 +0200
committerDanny Baumann <dannybaumann@web.de>2007-05-16 09:39:51 +0200
commita136acfc9327e9609d70022cbfdc88f08da26eee (patch)
tree08692fca01e2f7422fa9e20f8393619a2d50cd99
parentade3d3f6e95929ebc3d8cc7d0d8b439452bc0c46 (diff)
downloadberyl-premerge-a136acfc9327e9609d70022cbfdc88f08da26eee.tar.gz
beryl-premerge-a136acfc9327e9609d70022cbfdc88f08da26eee.tar.bz2
Don't display overlay icon when leaving ring switcher mode.
-rw-r--r--src/ring.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ring.c b/src/ring.c
index ac1c87c..2d8996b 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -485,7 +485,8 @@ ringPaintWindow (CompWindow *w,
glPopMatrix ();
}
- if (scaled && ((ringGetOverlayIcon (s) != OverlayIconNone) || !w->texture->pixmap))
+ if (scaled && (rs->state != RingStateIn) &&
+ ((ringGetOverlayIcon (s) != OverlayIconNone) || !w->texture->pixmap))
{
CompIcon *icon;