mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
ClutterEvent: preserve extended state across clutter_event_copy()
We're going nowhere if we don't copy these, because the final delivered event is a copy of the event generated by the backend. https://bugzilla.gnome.org/show_bug.cgi?id=708383
This commit is contained in:
parent
d72f3a3509
commit
5c44a5e6f4
@ -1207,6 +1207,10 @@ clutter_event_copy (const ClutterEvent *event)
|
||||
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;
|
||||
new_real_event->base_state = real_event->base_state;
|
||||
new_real_event->button_state = real_event->button_state;
|
||||
new_real_event->latched_state = real_event->latched_state;
|
||||
new_real_event->locked_state = real_event->locked_state;
|
||||
}
|
||||
|
||||
device = clutter_event_get_device (event);
|
||||
|
Loading…
Reference in New Issue
Block a user