XAllocID issues -- returns 0, calls geteuid, looks strange

jg%40laptop.org jim.gettys at comcast.net
Mon Aug 3 07:18:21 PDT 2009


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" <younes.m at gmail.com> 
To: xorg-devel at lists.x.org 
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 
xorg-devel at lists.x.org 
http://lists.x.org/mailman/listinfo/xorg-devel 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-devel/attachments/20090803/80dfac7b/attachment.html 


More information about the xorg-devel mailing list