XQuartz: Comment explaining the 0x10 flag for [e data2]
(cherry picked from commit 3c695280641c1205b97d3bb9f1d5e15a19cfa45f)
This commit is contained in:
parent
5339c22a8c
commit
c8bf582db8
|
@ -357,7 +357,7 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
|
||||||
if(!ok)
|
if(!ok)
|
||||||
switch_on_activate = YES;
|
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);
|
DarwinSendDDXEvent(kXquartzBringAllToFront, 0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue