summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
authorixce <ixce@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-31 18:54:57 +0000
committerixce <ixce@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-10-31 18:54:57 +0000
commit91eedb1d86befd286876912d6c602afeb8878561 (patch)
tree5bffeb900440fd7715f4a74f77ab4e683660d9c9 /beryl-plugins/src/rotate.c
parent9554e4819a7cf71708c68520be0a0ed0cc9b9c7f (diff)
downloadmarex-dev-91eedb1d86befd286876912d6c602afeb8878561.tar.gz
marex-dev-91eedb1d86befd286876912d6c602afeb8878561.tar.bz2
* Output devices handling improvements (David Reveman), fix typos
git-svn-id: file:///beryl/trunk@933 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/rotate.c')
-rw-r--r--beryl-plugins/src/rotate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/beryl-plugins/src/rotate.c b/beryl-plugins/src/rotate.c
index 62d3afa..46b50e9 100644
--- a/beryl-plugins/src/rotate.c
+++ b/beryl-plugins/src/rotate.c
@@ -1028,7 +1028,7 @@ rotateInitiate (CompDisplay * d,
{
ROTATE_SCREEN (s);
- if (s->hsize < 4)
+ if (s->hsize < 2)
return FALSE;
if (rs->rotateHandle && rs->grabWindow)
@@ -1139,7 +1139,7 @@ rotate (CompDisplay * d,
ROTATE_SCREEN (s);
- if (s->hsize < 4)
+ if (s->hsize < 2)
return FALSE;
if (otherScreenGrabExist (s, "rotate", "move", "switcher", "cube", 0))
@@ -1266,7 +1266,7 @@ rotateWithWindow (CompDisplay * d,
ROTATE_SCREEN (s);
- if (s->hsize < 4)
+ if (s->hsize < 2)
return FALSE;
direction = getIntOptionNamed (option, nOption, "direction", 0);
@@ -1725,7 +1725,7 @@ rotateEdgeFlip (CompScreen * s,
ROTATE_DISPLAY (s->display);
- if (s->hsize < 4)
+ if (s->hsize < 2)
return;
if (otherScreenGrabExist (s, "rotate", "move", 0))