diff options
author | Brian Ashworth <RedSoxFan@users.noreply.github.com> | 2018-10-22 17:32:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-22 17:32:39 -0400 |
commit | bb06a57a71074c1ecd570209fa6f1b12523fed8a (patch) | |
tree | 8e1637e3cd45a12c1e4c1df98ceced408136fc37 /sway/desktop | |
parent | 662466e8db773926bf61b21280194a3540ae26ec (diff) | |
parent | d9ed9445de73c138ddda21483c2ee49a73926dd8 (diff) |
Merge branch 'master' into fix-scratchpad-resize
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/xwayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c index b8ac8434..5305ce12 100644 --- 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; |