forked from AuroraMiddleware/gtk
gdk: Address pad events similarly to keyboard events
We want the same treatment for those, the event will be emitted on the toplevel, which will then decide what to do with the event. It just doesn't make much sense to propagate those up/down the hierarchy, when we want specifically one action being triggered from those. https://bugzilla.gnome.org/show_bug.cgi?id=770026
This commit is contained in:
parent
0dcb9b316e
commit
f1a9cd466e
@ -9860,7 +9860,8 @@ _gdk_windowing_got_event (GdkDisplay *display,
|
||||
|
||||
if (device)
|
||||
{
|
||||
if (gdk_device_get_source (device) != GDK_SOURCE_KEYBOARD)
|
||||
if (gdk_device_get_source (device) != GDK_SOURCE_KEYBOARD &&
|
||||
gdk_device_get_source (device) != GDK_SOURCE_TABLET_PAD)
|
||||
{
|
||||
pointer_info = _gdk_display_get_pointer_info (display, device);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user