summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontext.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/gtkimcontext.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/gtkimcontext.c')
-rw-r--r--gtk/gtkimcontext.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c
index 00ff8f33df..b6997482ee 100644
--- a/gtk/gtkimcontext.c
+++ b/gtk/gtkimcontext.c
@@ -603,7 +603,6 @@ gtk_im_context_filter_key (GtkIMContext *context,
key = gdk_key_event_new (press ? GDK_KEY_PRESS : GDK_KEY_RELEASE,
surface,
device,
- source_device,
time,
keycode,
state,