mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-09-19 13:52:48 +00:00
size hints can be -1
This commit is contained in:
@@ -248,12 +248,12 @@ client_is_float_type(Client *c)
|
||||
return 1;
|
||||
}
|
||||
|
||||
return min.width && min.height &&
|
||||
return min.width > 0 && min.height > 0 &&
|
||||
(min.width == max.width || min.height == max.height);
|
||||
}
|
||||
#endif
|
||||
|
||||
return c->surface.xdg->toplevel->parent || (min.width && min.height &&
|
||||
return c->surface.xdg->toplevel->parent || (min.width > 0 && min.height > 0 &&
|
||||
(min.width == max.width || min.height == max.height));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user