90dd28c910
Currently keycodes are always converted using xkbcommons `State::key_get_one_sym` function. This may be not what the compositor wants, e.g. if it represents keybindings with explicit modifiers. Applying Shift in this case changes the sym, making it necessary for the compositor to *undo* this transformation, which is hard or even impossible and very unnecessary, when we have all the necessary information in smithay. Therefor this commit replaces the `Keysym` argument of the filter closure with a `KeysymHandle`, which allows for different variants of keysyms to be received. Modified (as previously), unmodified or even as a raw keycode. |
||
---|---|---|
.. | ||
resources | ||
src | ||
Cargo.toml | ||
build.rs |