Commit f1a9cd46 authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

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.
parent 0dcb9b31
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment