Skip to content

add xwayland unmanaged tests to support dmenu

Simon Ser requested to merge github/fork/Ongy/xwayland_unmanaged into master

Created by: Ongy

This adds wlr_xwayland_surface_is_unamanged, to allow compositors more fine grained control over XWayland focus. A surface that is unmanaged should not receive focus, while other windows that are just override redirect may want it (dmenu). The way unamanged is determined is taken from wlc.

This fixes https://github.com/swaywm/wlroots/issues/636

I have only tested this with a single seat. With the current way inital focus is applied, it may have interesting effect in multiseat setups when a popup/tooltip doesn't have the NET_WM_TYPE set.

Merge request reports