sway

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

commit 16ef702645adef3a55d0641d092b6d26b81bb3c6
parent a918844e52a94d949f7db6181263e0186c52eb29
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date:   Mon, 22 Oct 2018 21:51:10 +1000

Fix xwayland wants_floating logic

Diffstat:
Msway/desktop/xwayland.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c @@ -239,7 +239,7 @@ static bool wants_floating(struct sway_view *view) { struct wlr_xwayland_surface_size_hints *size_hints = surface->size_hints; if (size_hints != NULL && - size_hints->min_width != 0 && size_hints->min_height != 0 && + size_hints->min_width > 0 && size_hints->min_height > 0 && (size_hints->max_width == size_hints->min_width || size_hints->max_height == size_hints->min_height)) { return true;