summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Byer <bbyer@bbyer.local>2007-10-31 23:46:50 -0700
committerJeremy Huddleston <jeremy@tifa.local>2007-11-21 23:12:15 -0800
commitb39edc01a6588697b65f831e8ab1dbb24cbe7b24 (patch)
tree853de15c759490cfd38db85ed55df21b6de31b4b
parent606a8dc73d91a198d72d249934dc027a23f4c338 (diff)
Darwin: Swap modifier keys for buttons 2 and 3 -- now Option-click is the middle click
(cherry picked from commit 0aa61293b62aeb69a93b2035d0aef8644343eed3)
-rw-r--r--hw/darwin/darwin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/darwin/darwin.c b/hw/darwin/darwin.c
index 22e133872..a4ec002e8 100644
--- a/hw/darwin/darwin.c
+++ b/hw/darwin/darwin.c
@@ -99,8 +99,8 @@ int darwinSyncKeymap = FALSE;
int darwinSwapAltMeta = FALSE;
// modifier masks for faking mouse buttons
-int darwinFakeMouse2Mask = NX_COMMANDMASK;
-int darwinFakeMouse3Mask = NX_ALTERNATEMASK;
+int darwinFakeMouse2Mask = NX_ALTERNATEMASK;
+int darwinFakeMouse3Mask = NX_COMMANDMASK;
// devices
DeviceIntPtr darwinPointer = NULL;