xserver: Branch 'xorg-server-1.4-apple'

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Thu Oct 23 11:41:50 PDT 2008


 hw/xquartz/X11Application.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3c695280641c1205b97d3bb9f1d5e15a19cfa45f
Author: Jeremy Huddleston <jeremyhu at freedesktop.org>
Date:   Thu Oct 23 11:41:22 2008 -0700

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

diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m
index 57dfcc9..b1cde34 100644
--- a/hw/xquartz/X11Application.m
+++ b/hw/xquartz/X11Application.m
@@ -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;


More information about the xorg-commit mailing list