-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
-
Sway Version:
1.11 -
Configuration File:
repro provided, butfocus_follows_mouse noif it matters -
Description:
Sway can get into a faulty state, where a window has focus, but keyboard events go to another windows. I've been triggering this by mistake for months now, but only today did I recognize the triggering condition.
Steps to reproduce:
- open two terminals side by side
- click left window to give it focus
- press the mod button to bring up Waybar (hidden by default in my setup),
- while holding mod button to keep bar visible, right click on tray icon (flameshot in my case) to bring up its context menu.
- with context menu visible, click on the right window
Result: the title bar of the right window shows it has received focus, but keyboard events still go to the left window. In my terminal, you can also see that the cursor doesn't change from an empty rectangle to a filled one, as it does when the window is ready to receive keyboard inputs.
Demonstration Video:
Probably related to #8912.
Possible dupe of #6967, but hopefully I've provided a reproducer.
Possibly related #6555
