Try latin character from other layout for action

This should allow users of non-latin layouts use bindings without
changing layout back to latin input capable one.

Fixes #21.
This commit is contained in:
Kirill Chibisov
2023-11-02 00:07:17 +04:00
committed by Ivan Molodetskikh
parent c460038a9f
commit 195ca80c39
+1 -1
View File
@@ -61,7 +61,7 @@ impl State {
let bindings = &this.niri.config.borrow().binds;
let key_code = event.key_code();
let modified = keysym.modified_sym();
let raw = keysym.raw_syms().first().cloned();
let raw = keysym.raw_latin_sym_or_raw_current_sym();
should_intercept_key(
&mut this.niri.suppressed_keys,
bindings,