mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-22 19:40:04 +01:00
XQuartz: Comment explaining the 0x10 flag for [e data2]
This commit is contained in:
parent
78e874fe17
commit
3c69528064
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
|
|||
if(!ok)
|
||||
switch_on_activate = YES;
|
||||
|
||||
if ([e data2] & 0x10 && switch_on_activate)
|
||||
if ([e data2] & 0x10 && switch_on_activate) // 0x10 is set when we use cmd-tab or the dock icon
|
||||
DarwinSendDDXEvent(kXquartzBringAllToFront, 0);
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue