summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
authormaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-25 11:41:45 +0000
committermaniac <maniac@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-25 11:41:45 +0000
commit6251996c6f8bea4736ae42b14d36f4d417cfa5c3 (patch)
tree5036a3db994470b8bb39d25ea08ff4dfa4aaccf5 /beryl-plugins/src/rotate.c
parent804eefccb6b5df9ccf820cb00c173c7ee1ec3c18 (diff)
downloadmarex-dev-6251996c6f8bea4736ae42b14d36f4d417cfa5c3.tar.gz
marex-dev-6251996c6f8bea4736ae42b14d36f4d417cfa5c3.tar.bz2
rotate & 3d plugins: handle offscreen windows properly
git-svn-id: file:///beryl/trunk@3119 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/rotate.c')
-rw-r--r--beryl-plugins/src/rotate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/beryl-plugins/src/rotate.c b/beryl-plugins/src/rotate.c
index cc7eef2..44fa844 100644
--- a/beryl-plugins/src/rotate.c
+++ b/beryl-plugins/src/rotate.c
@@ -2050,6 +2050,9 @@ static void rotateHandleEvent(CompDisplay * d, XEvent * event)
if (!w->placed)
break;
+ if (w->state & CompWindowStateOffscreenMask)
+ break;
+
if (otherScreenGrabExist
(s, "rotate", "switcher", "cube", "scale", 0))
break;