From 7e5b21651170e57b80a549bfb0cf0eb92ba7d30b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 2 Dec 2014 18:19:39 +0100 Subject: [PATCH] mir: set event source device as well --- gdk/mir/gdkmireventsource.c | 1 + 1 file changed, 1 insertion(+) 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);