fix xwayland clients being floating by default

Fix 3213088aa2
References: https://github.com/djpohly/dwl/pull/334#issuecomment-1333147730
This commit is contained in:
Leonardo Hernández Hernández 2022-12-01 20:49:49 -06:00
parent 6df6781b43
commit b4fb1f77c7
No known key found for this signature in database
GPG Key ID: E538897EE11B9624
1 changed files with 1 additions and 2 deletions

View File

@ -184,8 +184,7 @@ client_is_float_type(Client *c)
}
#endif
return ((min.width > 0 || min.height > 0 || max.width > 0 || max.height > 0)
&& (min.width == max.width || min.height == max.height))
|| client_get_parent(c);
&& (min.width == max.width || min.height == max.height));
}
static inline int