mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
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:
@@ -346,6 +346,7 @@ impl<T: 'static> EventLoop<T> {
|
||||
held_key_press: None,
|
||||
first_touch: None,
|
||||
active_window: None,
|
||||
modifiers: Default::default(),
|
||||
is_composing: false,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user