Tor Lillqvist wrote: > IMHO this could well happen on X11, too. After all, gdk_events_pending() > just checks for (gdk_event_queue_find_first() || XPending(gdk_display)). Right! Enormous suckage -- gdk_events_pending() can return false-positives. I'm happy with the workaround, then. I'm also distinctly unhappy that >>>gdk<<<_events_pending() actually means "gdk or random absolutely irrelevent bullshit on the native queue"_pending(). Grrr. --Adam -- Adam D. Moss . ,,^^ adam@xxxxxxxx http://www.foxbox.org/ "Due to recently uncovered copyright restrictions, Bucketheadland is no longer able to employ the man dressed in the Leatherface costume. If you see him in the park please contact Bucketheadland security immediately."