aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-01 20:49:49 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-01 20:51:00 -0600
commitb4fb1f77c768fb7bd568d3cc67c59dcfdb7cae28 (patch)
treeea6fa88608c8df4c93316ca1334abd1faf3ed508 /client.h
parent6df6781b437937e835d8caca14024829747bd2ab (diff)
fix xwayland clients being floating by default
Fix 3213088aa23e1f6cad1a5ba506dfb7318e1011c9 References: https://github.com/djpohly/dwl/pull/334#issuecomment-1333147730
Diffstat (limited to 'client.h')
-rw-r--r--client.h3
1 files changed, 1 insertions, 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