summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/rotate.c
diff options
context:
space:
mode:
authorkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-05 20:31:33 +0000
committerkristian <kristian@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2007-01-05 20:31:33 +0000
commit9c8079f4c480be40ef094962acee212c0a36be47 (patch)
tree1fb636ba047da2b85e14fd1d94c90112634332ef /beryl-plugins/src/rotate.c
parent27b7a75a26070cb3cedb39446decd87756b9996d (diff)
downloadmarex-dev-9c8079f4c480be40ef094962acee212c0a36be47.tar.gz
marex-dev-9c8079f4c480be40ef094962acee212c0a36be47.tar.bz2
rotate.c: Fix mixup in rotateLeftWheel/rotateRightWheel, old default behavior retained. Closes #556
git-svn-id: file:///beryl/trunk@2381 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 7614ce5..55611a8 100644
--- a/beryl-plugins/src/rotate.c
+++ b/beryl-plugins/src/rotate.c
@@ -69,10 +69,10 @@
#define ROTATE_WHEELMAXDIST_MIN 1
#define ROTATE_WHEELMAXDIST_MAX 300
-#define ROTATE_LEFT_WHEEL_DEFAULT Button5
+#define ROTATE_LEFT_WHEEL_DEFAULT Button4
#define ROTATE_LEFT_WHEEL_MODIFIERS_DEFAULT 0
-#define ROTATE_RIGHT_WHEEL_DEFAULT Button4
+#define ROTATE_RIGHT_WHEEL_DEFAULT Button5
#define ROTATE_RIGHT_WHEEL_MODIFIERS_DEFAULT 0
#define ROTATE_LEFT_KEY_DEFAULT "Left"
@@ -1442,7 +1442,7 @@ rotateWheel(CompDisplay * d, int direction, CompOption * option, int nOption)
}
static Bool
-rotateLeftWheel(CompDisplay * d,
+rotateRightWheel(CompDisplay * d,
CompAction * action,
CompActionState state, CompOption * option, int nOption)
{
@@ -1450,7 +1450,7 @@ rotateLeftWheel(CompDisplay * d,
}
static Bool
-rotateRightWheel(CompDisplay * d,
+rotateLeftWheel(CompDisplay * d,
CompAction * action,
CompActionState state, CompOption * option, int nOption)
{