do not send focus request to a window that doesn't allow it
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.