forge
Explore
Log in

Don't you dare go Hollow

Try latin character from other layout for action

Browse files at this commit

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

Fixes #21.
src/input.rsmodified+1 -1
@@ -61,7 +61,7 @@ impl State {
6161 let bindings = &this.niri.config.borrow().binds;
6262 let key_code = event.key_code();
6363 let modified = keysym.modified_sym();
64- let raw = keysym.raw_syms().first().cloned();
64+ let raw = keysym.raw_latin_sym_or_raw_current_sym();
6565 should_intercept_key(
6666 &mut this.niri.suppressed_keys,
6767 bindings,