This website requires JavaScript.
Explore
Help
Sign in
leyoda
/
winit
Watch
1
Star
0
Fork
You've already forked winit
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
5190472bee
winit
/
src
/
platform_impl
/
linux
/
common
/
mod.rs
2 lines
13 B
Rust
Raw
Normal View
History
Unescape
Escape
On X11, use events modifiers to detect state While there's a separate event to deliver modifiers for keyboard, unfortunately, it's not even remotely reflects the modifiers state. Thus use events along side regular modifier updates to correctly detect the state. Also, apply the modifiers from the regular key event by converting their state to xkb modifiers state. Links: https://github.com/alacritty/alacritty/issues/7549 Closes: #3388
2024-02-18 01:39:42 +04:00
pub
mod
xkb
;
Reference in a new issue
Copy permalink