Owen W. Taylor 85425f64a5 Stop confusing GDK's grab tracking
With client side windows, mixing GDK event delivery with explicit calls
to XUngrabPointer() can result in GDK losing button release events
it expects to get. This means that GDK thinks there is an implicit
grab in effect when there is none and send events to the wrong window.

Avoid this by bypassing GDK's event handling for most mouse events.
We do a simplified conversion of the X event into a GdkEvent and send
it to directly to libgtk for delivery.

We make an exception when a GDK grab is already in effect - this is
needed for the correct operation of menus.

http://bugzilla.gnome.org/show_bug.cgi?id=599181
2010-10-28 15:48:54 -04:00
..
2010-10-28 12:16:14 +02:00
2010-10-28 12:16:14 +02:00
2010-10-28 12:16:14 +02:00
2010-10-28 15:48:54 -04:00
2010-10-28 12:16:14 +02:00
2009-06-16 14:17:10 -04:00