summaryrefslogtreecommitdiff
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
parentea1b2dda635fec8ac18ab3e6578eadd2a0f7202d (diff)
parent4c6050331e4e9e03a43afb365263e3c48b50b294 (diff)
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