summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
authorkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-09 23:45:45 +0000
committerkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-12-09 23:45:45 +0000
commit003b7cf8b65a37ec54492511b2ec25ee11190d82 (patch)
treed91583518a9aae0552b16c5eeef19d497afefb55 /beryl-plugins/src/rotate.c
parentbed47ddd12eadff55665eef163e2c3a3290fec07 (diff)
downloadmarex-dev-003b7cf8b65a37ec54492511b2ec25ee11190d82.tar.gz
marex-dev-003b7cf8b65a37ec54492511b2ec25ee11190d82.tar.bz2
Enabel grabbing of the cube everywhere when we're snapped to top/bottom and doing initate on desktop.
git-svn-id: file:///beryl/trunk@1630 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/rotate.c')
-rw-r--r--beryl-plugins/src/rotate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/beryl-plugins/src/rotate.c b/beryl-plugins/src/rotate.c
index 60fe236..e249365 100644
--- a/beryl-plugins/src/rotate.c
+++ b/beryl-plugins/src/rotate.c
@@ -1052,7 +1052,7 @@ rotateInitiateDesktop(CompDisplay * d,
x = getIntOptionNamed(option, nOption, "x", 0);
y = getIntOptionNamed(option, nOption, "y", 0);
- if (pointerOnlyOnDesktop(s, x, y))
+ if (pointerOnlyOnDesktop(s, x, y) || screenGrabExist(s, "rotate", 0))
return rotateInitiate(d, action, state, option, nOption);
}
return FALSE;