]> Pileus Git - ~andy/gtk/commit
Don't filter out BUTTON_MOTION event masks
authorAlexander Larsson <alexl@redhat.com>
Wed, 2 Dec 2009 10:09:37 +0000 (11:09 +0100)
committerAlexander Larsson <alexl@redhat.com>
Wed, 2 Dec 2009 10:19:21 +0000 (11:19 +0100)
commitb509f28559dba03684ecc88acac498b6f27d2ebf
treea420f974644a2cc6b743493b0e0c3e67e42af679
parent6201a5d7ee9e7ae2bbb5e5ba1a81e2ff802b90a1
Don't filter out BUTTON_MOTION event masks

We don't really need to filter these out, it was just a leftover
safety check to not override the GDK_POINTER_MOTION_MASK.

Furthermore when we changed behaviour to not always select for native
pointer motion it is actually wrong. We'll still get normal motion
events for the toplevel which we will emulate as button motion on the
child, but the button motion mask will not be inherited by implicit
grabs which makes us not get any motion events during grabs.

This fixes bug 601473
gdk/gdkwindow.c