gdkevents: Ensure the seat data is copied in events

This commit is contained in:
Carlos Garnacho 2015-12-16 18:59:57 +01:00
parent c70da9b7ae
commit b0d72a36d8

View File

@ -660,6 +660,7 @@ gdk_event_copy (const GdkEvent *event)
new_private->screen = private->screen; new_private->screen = private->screen;
new_private->device = private->device ? g_object_ref (private->device) : NULL; new_private->device = private->device ? g_object_ref (private->device) : NULL;
new_private->source_device = private->source_device ? g_object_ref (private->source_device) : NULL; new_private->source_device = private->source_device ? g_object_ref (private->source_device) : NULL;
new_private->seat = private->seat;
} }
switch (event->any.type) switch (event->any.type)