commit b4fb1f77c768fb7bd568d3cc67c59dcfdb7cae28
parent 6df6781b437937e835d8caca14024829747bd2ab
Author: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date: Thu, 1 Dec 2022 20:49:49 -0600
fix xwayland clients being floating by default
Fix 3213088aa23e1f6cad1a5ba506dfb7318e1011c9
References: https://github.com/djpohly/dwl/pull/334#issuecomment-1333147730
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/client.h b/client.h
@@ -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