[Xquartz-dev] Building on Snow Leopard?

Pelle Johansson pelle at morth.org
Thu Sep 10 15:29:05 PDT 2009


Hi,

maybe a bit lazy for just asking instead of trying, but is there any  
(easy) way to build the X server on Snow Leopard right now, or should  
I just wait to download 2.4.1 first? I have a few local patches I'd  
like to get back in my server...

On that topic (patches), one of them is this one:

diff --git a/hw/xquartz/xpr/xprScreen.c b/hw/xquartz/xpr/xprScreen.c
index 1fac9ec..9448e0c 100644
--- a/hw/xquartz/xpr/xprScreen.c
+++ b/hw/xquartz/xpr/xprScreen.c
@@ -155,7 +155,7 @@ displayScreenBounds(CGDirectDisplayID id)
              (int)frame.origin.x, (int)frame.origin.y);

    /* Remove menubar to help standard X11 window managers. */
-    if (quartzEnableRootless &&
+    if (!quartzHasRoot &&
        frame.origin.x == 0 && frame.origin.y == 0) {
        frame.origin.y += aquaMenuBarHeight;
        frame.size.height -= aquaMenuBarHeight;

Those variables are named a bit confusing, but I finally decided that  
quartzHasRoot is the variable deciding if the server is currently in  
full screen mode. Can anyone else verify that this is a correct  
change? Pasted from terminal so might not be applicable directly...
-- 
Pelle Johansson



More information about the Xquartz-dev mailing list