[gtk+/wip/mir2: 220/232] mir: set event source device as well



commit 34ba7d03b4340bfc16697454d528377ef015a4aa
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Tue Dec 2 18:19:39 2014 +0100

    mir: set event source device as well

 gdk/mir/gdkmireventsource.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdk/mir/gdkmireventsource.c b/gdk/mir/gdkmireventsource.c
index d2e3f2e..df2ec92 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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]