[Xquartz-dev] Apple-WM usage

xquartz-dev.5.mzs at spamgourmet.com xquartz-dev.5.mzs at spamgourmet.com
Sun Apr 13 14:39:44 PDT 2008


Hi,

On Sat, 12 Apr 2008, Jeremy Huddleston - jeremyhu at apple.com wrote:

> Sorry it took so long for me to respond to you.  I see two things of note in

Don't sweat it you have been working very hard on making X11 super with 
the 2.2.0 release candidates, thanks again.

> 1) You don't need to getenv("DISPLAY")... this is handled for you 
> automagically by XOpenDisplay(NULL).

Yeah I had it that way in the beginning. That is just some stuff that 
crept in as I was getting paranoid about why things did not seem to be 
working.

> 2) You need to do an XFlush(dpy) at the end.

And this was just me being my ussual idiot self. With X11 apps tending to 
be event loop type things I always forget about that XFlush in the rare 
cases I need it, why can't I ever learn!?

Anyway that does it. Now for example I get the do you really want to quit 
dialog on a cmd-q.

I'll bug you some more when you get 2.2.0 out, but I'll give you a 
breather for now ;)

Thanks again,
mzs


More information about the Xquartz-dev mailing list