<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>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).<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Jim<br><br>----- Original Message -----<br>From: "Younes Manton" &lt;younes.m@gmail.com&gt;<br>To: xorg-devel@lists.x.org<br>Sent: Sunday, August 2, 2009 6:14:50 PM GMT -05:00 US/Canada Eastern<br>Subject: Re: XAllocID issues -- returns 0, calls geteuid, looks strange<br><br>Ok, so<br><br>printf("%u\n", XAllocID(dpy));<br>printf("%u\n", XAllocID(dpy));<br><br>gives me<br><br>58720257<br>0<br><br>and no XFlush(), XSync(), XFlushGC() between the two changes that. I'm<br>using XAllocIDs() instead which seems to work properly, but is this<br>expected behaviour for XAllocID()?<br>_______________________________________________<br>xorg-devel mailing list<br>xorg-devel@lists.x.org<br>http://lists.x.org/mailman/listinfo/xorg-devel<br></div></body></html>