summaryrefslogtreecommitdiff
path: root/gdk/mir/gdkmireventsource.c
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2014-12-02 18:19:39 +0100
committerWilliam Hua <william@attente.ca>2015-02-05 17:26:18 +0100
commit7e5b21651170e57b80a549bfb0cf0eb92ba7d30b (patch)
treead862186335b7ae565bf4a8aaa3e4c93a0c28c7a /gdk/mir/gdkmireventsource.c
parent7c2e3a812a02b9b578f895b4e4742b12b40f885b (diff)
downloadgtk+-7e5b21651170e57b80a549bfb0cf0eb92ba7d30b.tar.gz
mir: set event source device as well
Diffstat (limited to 'gdk/mir/gdkmireventsource.c')
-rw-r--r--gdk/mir/gdkmireventsource.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/mir/gdkmireventsource.c b/gdk/mir/gdkmireventsource.c
index d2e3f2ee06..df2ec92a4a 100644
--- a/gdk/mir/gdkmireventsource.c
+++ b/gdk/mir/gdkmireventsource.c
@@ -52,6 +52,7 @@ send_event (GdkWindow *window, GdkDevice *device, GdkEvent *event)
GList *node;
gdk_event_set_device (event, device);
+ gdk_event_set_source_device (event, device);
gdk_event_set_screen (event, gdk_display_get_screen (gdk_window_get_display (window), 0));
event->any.window = g_object_ref (window);