mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
device: Do not overwrite the stage for an InputDevice
The Stage field of an InputDevice is set by the backend, whenever the pointer enters or leaves the Stage. The Stage should not overwrite the stage field for every event it processes.
This commit is contained in:
parent
cf287db204
commit
8736b53d7c
@ -487,7 +487,6 @@ _clutter_stage_queue_event (ClutterStage *stage,
|
||||
_clutter_input_device_set_coords (device, event_x, event_y);
|
||||
_clutter_input_device_set_state (device, event_state);
|
||||
_clutter_input_device_set_time (device, event_time);
|
||||
_clutter_input_device_set_stage (device, stage);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user