path: root/src/ui/draw-workspace.c
diff options
authorOwen W. Taylor <>2010-06-09 19:38:35 -0400
committerThomas Thurman <>2010-09-15 07:59:16 -0400
commit4e6a3abe146ea858b0097d230fbdfefd1e1cc14e (patch)
tree1ba784afe8fbea3bac24aa09329ee246e1844433 /src/ui/draw-workspace.c
parent61a34a9700adf540c4e1d1dbbf491984bfc8b2d3 (diff)
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.
Diffstat (limited to 'src/ui/draw-workspace.c')
0 files changed, 0 insertions, 0 deletions