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

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Mon Apr 21 23:45:03 PDT 2008


 hw/xquartz/X11Application.m |    3 ++-
 hw/xquartz/X11Controller.m  |    6 ------
 2 files changed, 2 insertions(+), 7 deletions(-)

New commits:
commit b9b2d028d2b84480a04f2d8531c3abec20e865c9
Author: Jeremy Huddleston <jeremyhu at freedesktop.org>
Date:   Mon Apr 21 23:44:37 2008 -0700

    XQuartz: Fixed cmd-tab to bring all windows forward.
    (cherry picked from commit e48e2ce931228f4dfa36c39b8ec8c72a58025b1b)

diff --git a/hw/xquartz/X11Application.m b/hw/xquartz/X11Application.m
index 3df19de..265819a 100644
--- a/hw/xquartz/X11Application.m
+++ b/hw/xquartz/X11Application.m
@@ -264,7 +264,8 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
 				_appFlags._active = YES;
 
 				[self activateX:YES];
-				if ([e data2] & 0x10) X11ApplicationSetFrontProcess();
+				if ([e data2] & 0x10) 
+                    DarwinSendDDXEvent(kXquartzBringAllToFront, 0);
 			}
 			break;
 
diff --git a/hw/xquartz/X11Controller.m b/hw/xquartz/X11Controller.m
index 98cb395..8dfe4b3 100644
--- a/hw/xquartz/X11Controller.m
+++ b/hw/xquartz/X11Controller.m
@@ -754,12 +754,6 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row
     return YES;
 }
 
-- (OSX_BOOL) applicationShouldHandleReopen:(NSApplication *)app
-                     hasVisibleWindows:(OSX_BOOL)hasVis {
-    DarwinSendDDXEvent(kXquartzBringAllToFront, 0);
-    return YES;
-}
-
 @end
 
 void X11ControllerMain(int argc, const char **argv, void (*server_thread) (void *), void *server_arg) {


More information about the xorg-commit mailing list