mirror of
https://github.com/NickHu/sway
synced 2024-12-27 21:58:11 +01:00
Fix xwayland wants_floating logic
This commit is contained in:
parent
a918844e52
commit
16ef702645
1 changed files with 1 additions and 1 deletions
|
@ -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