# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1333764996 0 # Node ID b2c26ed9031c8491a9bfeb3eac5f28f75d57034c # Parent 8493f88888936b4f7ef3f4d843d89668bfcb7e70 On Mac set button to 2 (right) when Control key is pressed and left clicking in button press events. diff -r 8493f8888893 -r b2c26ed9031c mac/dw.m --- a/mac/dw.m Sat Apr 07 01:22:15 2012 +0000 +++ b/mac/dw.m Sat Apr 07 02:16:36 2012 +0000 @@ -303,6 +303,10 @@ { button = 3; } + else if([event modifierFlags] & NSControlKeyMask) + { + button = 2; + } } return buttonfunc(object, (int)p.x, (int)p.y, button, handler->data);