From b39edc01a6588697b65f831e8ab1dbb24cbe7b24 Mon Sep 17 00:00:00 2001 From: Ben Byer Date: Wed, 31 Oct 2007 23:46:50 -0700 Subject: [PATCH] Darwin: Swap modifier keys for buttons 2 and 3 -- now Option-click is the middle click (cherry picked from commit 0aa61293b62aeb69a93b2035d0aef8644343eed3) --- hw/darwin/darwin.c | 4 ++-- 1 file 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;