win32: Set the right source device

https://bugzilla.gnome.org/show_bug.cgi?id=734738
This commit is contained in:
Matthias Clasen 2014-08-15 13:04:57 -04:00
parent cab7dcde1b
commit 1dfe28fa56

View File

@ -229,7 +229,7 @@ generate_grab_broken_event (GdkDeviceManager *device_manager,
event->grab_broken.implicit = FALSE;
event->grab_broken.grab_window = grab_window;
gdk_event_set_device (event, device);
gdk_event_set_source_device (event, device);
gdk_event_set_source_device (event, source_device);
_gdk_win32_append_event (event);
}