1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-09 22:15:15 +03:00
wezterm/wezterm-gui
Wez Furlong eb3a78b0cb
x11: synthesize clearing dead key state when forgotten by system
It's not clear exactly how this triggers, but in setups where
a compose key has been configured (against the default for the
configured keyboard layout), it seems as though certain events
that indicate when composition is complete are not delivered,
leaving the compose cursor in an inconsistent state.

This commit attempts to detect that composing->!composing
state transition and bubble it up; when we return Nothing
and had previously had a composition string we're return
a bool to cause the caller to emit an event that clears
the composition state.

I'm not totally sure this is 100% right, but I think
it may help with the case we're discussing in
https://github.com/wez/wezterm/issues/4841
2024-01-23 15:02:50 -07:00
..
src x11: synthesize clearing dead key state when forgotten by system 2024-01-23 15:02:50 -07:00
build.rs Improve RESIZE window_decoration on Windows 2022-03-26 07:27:54 -07:00
Cargo.toml Revert "deps: update to wgpu 0.19" 2024-01-21 09:51:58 -07:00