From b4fb1f77c768fb7bd568d3cc67c59dcfdb7cae28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Thu, 1 Dec 2022 20:49:49 -0600 Subject: [PATCH] fix xwayland clients being floating by default Fix 3213088aa23e1f6cad1a5ba506dfb7318e1011c9 References: https://github.com/djpohly/dwl/pull/334#issuecomment-1333147730 --- client.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client.h b/client.h index 3c81135..c18d01a 100644 --- 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