event: Copy the is-pointer-emulated flag

https://bugzilla.gnome.org/show_bug.cgi?id=680174
This commit is contained in:
Emanuele Aina 2012-07-18 18:28:24 +02:00 committed by Emmanuele Bassi
parent 31b8b2e22f
commit a8fcd4dfae

View File

@ -1142,6 +1142,7 @@ clutter_event_copy (const ClutterEvent *event)
new_real_event->source_device = real_event->source_device;
new_real_event->delta_x = real_event->delta_x;
new_real_event->delta_y = real_event->delta_y;
new_real_event->is_pointer_emulated = real_event->is_pointer_emulated;
}
device = clutter_event_get_device (event);