summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
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))