For e.g. if you open a URL in Alacritty holding some modifier your keyboard focus will move to your browser, but pointer could be still over Alacritty and will highlight URL even if you release all your modifiers. So to sync your modifiers you should bring keyboard focus back to the window.
I feel like winit can't do anything about it, knowing some Wayland security concerns, however it's better to keep this issue around, maybe there's something can be done.
cc @chrisduerr
For e.g. if you open a URL in Alacritty holding some modifier your keyboard focus will move to your browser, but pointer could be still over Alacritty and will highlight URL even if you release all your modifiers. So to sync your modifiers you should bring keyboard focus back to the window.
I feel like winit can't do anything about it, knowing some Wayland security concerns, however it's better to keep this issue around, maybe there's something can be done.
cc @chrisduerr