diff options
Diffstat (limited to 'src/cmd/devdraw/mac-screen.m')
| -rw-r--r-- | src/cmd/devdraw/mac-screen.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/devdraw/mac-screen.m b/src/cmd/devdraw/mac-screen.m index 6abdee11..c5760ddc 100644 --- a/src/cmd/devdraw/mac-screen.m +++ b/src/cmd/devdraw/mac-screen.m @@ -635,15 +635,15 @@ rpc_resizewindow(Client *c, Rectangle r) x = 0; if(m & ~omod & NSEventModifierFlagControl) x = 1; - if(m & ~omod & NSEventModifierFlagOption) - x = 2; if(m & ~omod & NSEventModifierFlagCommand) + x = 2; + if(m & ~omod & NSEventModifierFlagOption) x = 4; b |= x; if(m & NSEventModifierFlagShift) b <<= 5; [self sendmouse:b]; - }else if(m & ~omod & NSEventModifierFlagOption) + }else if(m & ~omod & NSEventModifierFlagCommand) gfx_keystroke(self.client, Kalt); omod = m; @@ -700,11 +700,11 @@ rpc_resizewindow(Client *c, Rectangle r) m = [e modifierFlags]; if(b == 1){ - if(m & NSEventModifierFlagOption){ + if(m & NSEventModifierFlagCommand){ gfx_abortcompose(self.client); b = 2; }else - if(m & NSEventModifierFlagCommand) + if(m & NSEventModifierFlagOption) b = 4; } if(m & NSEventModifierFlagShift) |
