backends/native: Update keyboard a11y status in seat impl

Instead of going through the event queue, stage handling code, and
back to the input device via a vmethod call, do this directly in the
MetaSeatImpl. This is not too different from X11, where everything
happens inside the backend.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403>
This commit is contained in:
Carlos Garnacho
2020-11-19 23:58:56 +01:00
committed by Marge Bot
parent f117a157dc
commit 2ff5bb4299
7 changed files with 44 additions and 63 deletions

View File

@ -149,5 +149,7 @@ void meta_input_device_native_set_coords (MetaInputDeviceNat
void meta_input_device_native_get_coords (MetaInputDeviceNative *device_native,
float *x,
float *y);
gboolean meta_input_device_native_process_kbd_a11y_event (ClutterInputDevice *device,
ClutterEvent *event);
#endif /* META_INPUT_DEVICE_NATIVE_H */