forked from AuroraMiddleware/gtk
mir: set event source device as well
This commit is contained in:
parent
7c2e3a812a
commit
7e5b216511
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user