Oh interesting. _gdk_windowing_window_at_pointer calls XQueryPointer multiple times, and has the following explanation for the grab:
/* This function really only works if the mouse pointer is held still * during its operation. If it moves from one leaf window to another * than we'll end up with inaccurate values for win_x, win_y * and the result. */ So who's at fault here? Gdk, for grabbing the server? Or Xlib, for not providing better APIs? It's not possible to attach a second gdb instance to ungrab the server. Killing the program works, of course, but this isn't exactly a solution. -- X server freezes while the application is executing XQueryPointer https://bugs.launchpad.net/bugs/400374 You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg-server in ubuntu. _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp