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

Younes Manton younes.m at gmail.com
Sun Aug 2 15:14:50 PDT 2009


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()?


More information about the xorg-devel mailing list