gillescastel / inkscape-shortcut-manager

Inkscape shorcut manager
MIT License
360 stars 98 forks source link

Support F-key shortcuts #7

Closed feynmanliang closed 4 years ago

feynmanliang commented 4 years ago

Keypresses of F-keys do not get a string returned from XK.keysym_to_string and hence (1) do not get added to pressed and (2) do not trigger a replay even when they are not handled. This breaks the F-key shortcuts which are a big part of Inkscape.

This PR introduces a change which replays all the events received whenever our application doesn't handle it (previously it only replayed when it receives an event representing a KeyPress of a key which keysym_to_string can interpret as a char)

Resolves #8


This change is Reviewable

gillescastel commented 4 years ago

Thanks!