-
Committer:
Richard Shann
-
Date:
2020-07-02 15:54:07 UTC
-
Revision ID:
git-v1:edc6bd4ca780a30cfb0c9441cc85e098dd4a2803
- Remove unused dnm_sanitize_key_event () prototype
- Remove dnm_clean_event () altogether, and combine logic into
dnm_sanitize_key_state (), which just returned event->state
- Remove all calls to dnm_clean_event (); replace by
dnm_sanitize_key_state ()
- Implement portable logic to always take as command input the "level 0"
unmodified value of a key, passing event->hardware_keycode to
gdk_keymap_get_entries_for_keycode() and grabbing the first keyval in
the returned array regardless of modifier keys. See GDK docs here:
https://developer.gnome.org/gdk3/stable/gdk3-Keyboard-Handling.html#gdk-keymap-get-entries-for-keycode