There seems to be a problem when using commands such as f<key> on German Neo keyboard where punctuation characters are accessed using MOD3 keys. This is possibly mapped to GDK_MOD1_MASK or GDK_META_MASK state which leads to ignoring such key events.
Attempt to use gdk_keymap_translate_keyboard_state() which returns potentially consumed modifiers and remove those from ev->state. The hope is that when a visible character is typed using MOD3+key, the modifier corresponding to MOD3 will get reported in consumed and removed so it won't affect further event processing. Possibly fixes https://github.com/geany/geany-plugins/issues/1483 You can view, comment on, or merge this pull request online at: https://github.com/geany/geany-plugins/pull/1486 -- Commit Summary -- * vimode: Possibly improve behavior on some strange keyboard layouts -- File Changes -- M vimode/src/keypress.c (16) -- Patch Links -- https://github.com/geany/geany-plugins/pull/1486.patch https://github.com/geany/geany-plugins/pull/1486.diff -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/1486 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/pull/[email protected]>
