summaryrefslogtreecommitdiff
path: root/gtk/gtktooltip.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-07-29 00:03:48 +0200
committerCarlos Garnacho <carlosg@gnome.org>2020-07-29 01:27:51 +0200
commitcab1dcb6960d1efb4dee916a1c804c908664c530 (patch)
treee437b652ea6b2286e1b62e85f9e4cf8cca233257 /gtk/gtktooltip.c
parent25ea17a6fc0035b5f7e190ed84107c0f8016aa09 (diff)
downloadgtk+-cab1dcb6960d1efb4dee916a1c804c908664c530.tar.gz
gdk: Conflate GDK devices
Make GdkEvents hold a single GdkDevice. This device is closer to the logical device conceptually, although it must be sufficient for device checks (i.e. GdkInputSource), which makes it similar to the physical devices. Make the logical devices have a more accurate GdkInputSource where needed, and conflate the event devices altogether.
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r--gtk/gtktooltip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c
index 27ab711ef5..284e96d912 100644
--- a/gtk/gtktooltip.c
+++ b/gtk/gtktooltip.c
@@ -897,7 +897,7 @@ tooltips_enabled (GdkEvent *event)
GDK_BUTTON5_MASK)) != 0)
return FALSE;
- source_device = gdk_event_get_source_device (event);
+ source_device = gdk_event_get_device (event);
if (!source_device)
return FALSE;