On X11, fix ModifiersChanged from xdotool
xdotool will update modifiers before Xkb will actually send event updating them, thus the modifiers will be updating even before the actual update, which is unfortunate. Links: https://github.com/alacritty/alacritty/issues/7502
This commit is contained in:
parent
5a1d3e4656
commit
5e106b4dbb
3 changed files with 32 additions and 37 deletions
|
|
@ -347,6 +347,7 @@ impl<T: 'static> EventLoop<T> {
|
|||
held_key_press: None,
|
||||
first_touch: None,
|
||||
active_window: None,
|
||||
modifiers: Default::default(),
|
||||
is_composing: false,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue