mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
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