summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
authorquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-14 23:58:13 +0000
committerquinn <quinn@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-14 23:58:13 +0000
commit7328fbf8a96de5012c11017fc871eb0ba4ea15f7 (patch)
treec91e9bd2804548c7ad593969c50ee3af9debe935 /beryl-plugins/src/rotate.c
parentc3065273afa27def66ddca0c5a446f0408cff9e1 (diff)
downloadmarex-dev-7328fbf8a96de5012c11017fc871eb0ba4ea15f7.tar.gz
marex-dev-7328fbf8a96de5012c11017fc871eb0ba4ea15f7.tar.bz2
beryl-plugins/rotate:
* make edge action "options" "always on" so that rotate will always behave properly, and that other, "real" edge actions can also be added to the left and right screen edge. git-svn-id: file:///beryl/trunk@2666 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/rotate.c')
-rw-r--r--beryl-plugins/src/rotate.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/beryl-plugins/src/rotate.c b/beryl-plugins/src/rotate.c
index dde7913..844d2d6 100644
--- a/beryl-plugins/src/rotate.c
+++ b/beryl-plugins/src/rotate.c
@@ -168,12 +168,12 @@ static int displayPrivateIndex;
#define ROTATE_DISPLAY_OPTION_WHEELINGS 35
#define ROTATE_DISPLAY_OPTION_LEFT_WHEEL 36
#define ROTATE_DISPLAY_OPTION_RIGHT_WHEEL 37
-#define ROTATE_DISPLAY_OPTION_FLIP_LEFT 38
-#define ROTATE_DISPLAY_OPTION_FLIP_RIGHT 39
-#define ROTATE_DISPLAY_OPTION_UP 40
-#define ROTATE_DISPLAY_OPTION_DOWN 41
-#define ROTATE_DISPLAY_OPTION_INITIATEDESKTOP 42
-#define ROTATE_DISPLAY_OPTION_STICKY_INITIATE 43
+#define ROTATE_DISPLAY_OPTION_UP 38
+#define ROTATE_DISPLAY_OPTION_DOWN 39
+#define ROTATE_DISPLAY_OPTION_INITIATEDESKTOP 40
+#define ROTATE_DISPLAY_OPTION_STICKY_INITIATE 41
+#define ROTATE_DISPLAY_OPTION_FLIP_LEFT 42
+#define ROTATE_DISPLAY_OPTION_FLIP_RIGHT 43
#define ROTATE_DISPLAY_OPTION_NUM 44
@@ -2725,7 +2725,7 @@ static CompOption *rotateGetDisplayOptions(CompDisplay * display, int *count)
RotateDisplay *rd = malloc(sizeof(RotateDisplay));
rotateDisplayInitOptions(rd);
- *count = NUM_OPTIONS(rd);
+ *count = NUM_OPTIONS(rd)-2;
return rd->opt;
}
}