rootston: dmenu doesn't receive focus #636
Comments
Does switching focus with the rootston binding work? |
Keyboard binds? I'm not sure. Let me test, if that already gets us into problems with dunst |
Removing that return allows me to give it focus on mouse click. Other windows don't steal the focus either, so no issues with them. |
https://github.com/Cloudef/wlc/blob/master/src/xwayland/xwm.c#L308 |
yes |
I've been looking through the The sway view create handler has an interesting bit of logic here: https://github.com/swaywm/sway/blob/master/sway/handlers.c#L425 Windows that are just
The relevant bits are set by wlc in: wlroots currently isn't concerned about the X atoms as much, so we have to do some work here. The other reason, we can't focus the dunst windows at all is https://github.com/Cloudef/wlc/blob/704c56bf66f87f8788ab352a60d4ad0108b1920c/src/compositor/view.c#L533 btw. The link I found earlier only gates the active state, not actual focus. |
When dmenu is started, it does not receive focus.
it does work when an Xwayland surface has focus, but can't steal focus from a wayland surface.
Just assigning focus to override-redirect windows doesn't work either, since dunst would steal focus with this as well, which interferes with users.
On current sway, starting dmenu from weston-terminal gives focus to dmenu, while dunst doesn't.
The text was updated successfully, but these errors were encountered: