mirror of
https://github.com/swaywm/sway.git
synced 2024-11-04 23:43:14 +00:00
Merge branch 'master' into fix-scratchpad-resize
This commit is contained in:
commit
bb06a57a71
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue