]> Pileus Git - ~andy/gtk/commit
x11: Don't ignore button releases after a wmspec move/resize
authorRui Matos <tiagomatos@gmail.com>
Wed, 4 Apr 2012 13:54:32 +0000 (15:54 +0200)
committerRui Matos <tiagomatos@gmail.com>
Thu, 5 Apr 2012 08:12:16 +0000 (10:12 +0200)
commit7b0fd635fa39a27693655171a4cdc0150ae476ed
tree68960eccaaa6fdb0b234c54bc29f1ba0efb0b655
parent8dcbe9e2de1b66d52a457560a7a60c6ff2d2545f
x11: Don't ignore button releases after a wmspec move/resize

_gdk_x11_moveresize_configure_done() isn't called for wmspec
moves/resizes so we don't have a way to notice when a wmspec
move/resize ends and consequently untrigger the sending of
_NET_WM_MOVERESIZE_CANCEL which results in this message always being
sent on the next button release event. In that case we are marking
that event as handled so it isn't processed further which breaks
button press/release event handling in several widgets.

To fix this we simply allow the normal event handling machinery to run
after sending the _NET_WM_MOVERESIZE_CANCEL message.

https://bugzilla.gnome.org/show_bug.cgi?id=673328
gdk/x11/gdkwindow-x11.c