summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
authorplayerX <playerX@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-24 22:15:38 +0000
committerplayerX <playerX@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-24 22:15:38 +0000
commit6caa4f487b04092eda6cf05ab9d5e0f388ed1b83 (patch)
tree34cca6e48ca5f22cfbe245af8d82ae4161114243 /beryl-plugins/src/rotate.c
parent963f4bbdb6c4c8d79f01ce11a6d82314072d5723 (diff)
downloadmarex-dev-6caa4f487b04092eda6cf05ab9d5e0f388ed1b83.tar.gz
marex-dev-6caa4f487b04092eda6cf05ab9d5e0f388ed1b83.tar.bz2
beryl-plugins/cube: Only go up and down via keybindings when hsize > 2
git-svn-id: file:///beryl/trunk@3098 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 5d7e655..cc7eef2 100644
--- a/beryl-plugins/src/rotate.c
+++ b/beryl-plugins/src/rotate.c
@@ -1232,7 +1232,7 @@ rotateVert(CompDisplay * d,
xid = getIntOptionNamed(option, nOption, "root", 0);
s = findScreenAtDisplay(d, xid);
- if (s)
+ if (s && s->hsize > 2)
{
int direction;