overeager xid reuse
@mclasen
Submitted by Matthias Clasen Assigned to Xorg Project Team
Description
http://bugzilla.gnome.org/show_bug.cgi?id=581526 describes a scenario where XCreateWindow appears to reuse an XID while the DestroyNotify for the previous owner of that XID is still sitting in the event queue. This causes GDK to get confused, and things go downhill from there.
It seems unreasonable to demand that clients peek the queue for pending destroy notifies whenever they want to create a window, in particular since this problem does not occur without the resource-reusing extension.