[Xquartz-dev] Building on Snow Leopard?

Pelle Johansson pelle at morth.org
Fri Sep 11 10:23:17 PDT 2009


11 sep 2009 kl. 03.52 skrev Jeremy Huddleston:

> Yeah... and perhaps I should do a big search/replace on them...  
> don't look at me, I inherited them that way ;)

I remember well the time before you started in this project, so I know  
you're not at fault. :)

> IIRC: quartzEnableRootless is the variable that toggles the mode.   
> Are we rootless or are we fullscreen (the preference option).   
> quartzHasRoot is the variable that essentially corresponds to the  
> (for lack of better name) cmd-alt-a state.

Right, thanks for reminding me. That means I had to change it because  
I switch to full screen mode programmatically even though  
quartzEnableRootless is true... I guess what I really need to do is  
check both variables.

I've been working on some Xrandr support, and since I presume that any  
resolution change is temporary in X11.app, I decided on doing a  
CGCaptureAllDisplays() and switching to rooted mode. It's not quite  
ready to show anyone else yet... primarily I need some better way of  
getting out of a stuck switch than force killing X11.app. (An xrandr - 
s auto will also work, but you have to get to it first.)

One bug that sometimes also happens is that the titleless (fullscreen)  
window created together with the mode switch appears with a 20-22  
pixels gap at the top. I haven't really been able to track it down  
yet, so any help would be appreciated (I realise as I'm writing this  
that I should probably see how it works with a different window  
manager).

Oh well, it'll all have to wait a while anyway...
-- 
Pelle Johansson


More information about the Xquartz-dev mailing list