sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 159edc6d13db42b15b28c7ea58cdf2371d29297d
parent ca3be93757badc5bfdea82dc4abdc7e68ddf21c8
Author: emersion <contact@emersion.fr>
Date:   Sun,  2 Sep 2018 10:17:29 +0200

Merge pull request #2559 from RyanDwyer/xwayland-check-modal

Check modal state when determining whether an xwayland view should float
Diffstat:
Msway/desktop/xwayland.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c @@ -218,7 +218,9 @@ static bool wants_floating(struct sway_view *view) { struct wlr_xwayland_surface *surface = view->wlr_xwayland_surface; struct sway_xwayland *xwayland = &server.xwayland; - // TODO: return true if the NET_WM_STATE is MODAL + if (surface->modal) { + return true; + } for (size_t i = 0; i < surface->window_type_len; ++i) { xcb_atom_t type = surface->window_type[i];