clutter: Pass events to pointer a11y before going through filters
We want all pointer events to be passed through the pointer a11y processing before going through event filters: Once we go through event filters, events might be dispatched to Wayland and get filtered out. With the changes to immediately dispatch events to wayland, this changed and the pointer a11y is now no longer seeing any events going to wayland clients. Fix it by shuffling things around a bit and letting pointer a11y take a peek at events earlier. Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5192 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2332>
This commit is contained in:
@ -42,6 +42,9 @@ void _clutter_input_pointer_a11y_on_button_event (ClutterInputDevice *device,
|
||||
CLUTTER_EXPORT
|
||||
gboolean _clutter_is_input_pointer_a11y_enabled (ClutterInputDevice *device);
|
||||
|
||||
CLUTTER_EXPORT
|
||||
void _clutter_input_pointer_a11y_maybe_handle_event (ClutterEvent *event);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __CLUTTER_INPUT_POINTER_A11Y_H__ */
|
||||
|
Reference in New Issue
Block a user