add xwayland unmanaged tests to support dmenu
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.