From 524dc8cb61edb58fb1f56999f22bb7a93511b565 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Thu, 23 Oct 2008 11:41:22 -0700 Subject: [PATCH] XQuartz: Comment explaining the 0x10 flag for [e data2] (cherry picked from commit 3c695280641c1205b97d3bb9f1d5e15a19cfa45f) --- hw/xquartz/X11Application.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m index 00c2c3c74..f5b3aa25b 100644 --- a/hw/xquartz/X11Application.m +++ b/hw/xquartz/X11Application.m @@ -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;