Skip to content

do not send focus request to a window that doesn't allow it

Simon Ser requested to merge github/fork/apreiml/fix-awt-focus-failure into master

Created by: apreiml

In this commit send focus considers the "Client accepts input or input focus" flag. If the client doesn't accept input, it will not set the input focus. The client will do this on her own.

This fixes a bug, where java awt applications (like intellij) do not get focus, if you tab cycle to them or move the focus using the keyboard in sway.

fixes https://github.com/swaywm/sway/issues/2008

Merge request reports