summaryrefslogtreecommitdiffstats
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-02 10:39:06 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-02 10:39:06 -0600
commit1b39bbf3162ef5ab7c49252c29b5bcb242ebde9c (patch)
tree3829b6c13ffe351df86553560fd151ad144af4f0 /client.h
parentMerge branch 'main' into wlroots-next (diff)
parentbump version to 0.4-rc1 (diff)
downloaddwl-1b39bbf3162ef5ab7c49252c29b5bcb242ebde9c.tar.gz
dwl-1b39bbf3162ef5ab7c49252c29b5bcb242ebde9c.tar.bz2
dwl-1b39bbf3162ef5ab7c49252c29b5bcb242ebde9c.tar.xz
dwl-1b39bbf3162ef5ab7c49252c29b5bcb242ebde9c.tar.zst
dwl-1b39bbf3162ef5ab7c49252c29b5bcb242ebde9c.zip
Merge remote-tracking branch 'upstream/main' into wlroots-next
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