Yes; the server allocates the client a range of ID's it can allocate from at 
connection setup time; the only other time XAllocID would talk to the server is 
if it has exhausted its initial supply (which is quite a lot). 
- Jim 

----- Original Message ----- 
From: "Younes Manton" <[email protected]> 
To: [email protected] 
Sent: Sunday, August 2, 2009 6:14:50 PM GMT -05:00 US/Canada Eastern 
Subject: Re: XAllocID issues -- returns 0, calls geteuid, looks strange 

Ok, so 

printf("%u\n", XAllocID(dpy)); 
printf("%u\n", XAllocID(dpy)); 

gives me 

58720257 
0 

and no XFlush(), XSync(), XFlushGC() between the two changes that. I'm 
using XAllocIDs() instead which seems to work properly, but is this 
expected behaviour for XAllocID()? 
_______________________________________________ 
xorg-devel mailing list 
[email protected] 
http://lists.x.org/mailman/listinfo/xorg-devel 
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to