XQuartz: Comment explaining the 0x10 flag for [e data2]

(cherry picked from commit 3c69528064)
This commit is contained in:
Jeremy Huddleston 2008-10-23 11:41:22 -07:00
parent b64ffaaf28
commit 524dc8cb61

View File

@ -302,7 +302,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;