Commit b96b5655 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

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

parent 540370fb
......@@ -1132,7 +1132,8 @@ static inline void fix_generic_modifiers_by_device(NSUInteger* modifiers)
[[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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment