mirror of
https://github.com/brl/mutter.git
synced 2025-02-20 06:54:10 +00:00

The clutter/evdev implementation of mousekeys is designed after the current implementation in X11, and works when the setting is enabled regardless of the status of NumLock. The GNOME documentation on accessibility features states however that mousekeys work only when NumLock is OFF: https://help.gnome.org/users/gnome-help/stable/mouse-mousekeys.html Change the clutter/evdev implementation to match the documentation, i.e. disable mousekeys when NumLock in ON so that switching NumLock ON restores the numeric keypad behaviour. Closes: https://gitlab.gnome.org/GNOME/mutter/issues/530 (cherry picked from commit 471b61bd1400435b7af977c47c21b8fc747530d9)