Skip to content
Snippets Groups Projects
Commit b96b5655 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard
Browse files

winemac: Command-clicks shouldn't give windows focus.

parent 540370fb
No related branches found
No related tags found
No related merge requests found
......@@ -1132,7 +1132,8 @@ - (void) sendEvent:(NSEvent*)event
[[self firstResponder] keyDown:event];
else
{
if ([event type] == NSLeftMouseDown)
if ([event type] == NSLeftMouseDown &&
(([event modifierFlags] & (NSShiftKeyMask | NSControlKeyMask| NSAlternateKeyMask | NSCommandKeyMask)) != NSCommandKeyMask))
{
/* Since our windows generally claim they can't be made key, clicks
in their title bars are swallowed by the theme frame stuff. So,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment