aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-04-10 21:38:48 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-04-10 21:38:48 -0500
commitb86fcf6504e7b6aafcace2e099d2de822c25fbf3 (patch)
tree9980042e6796a4de2ce73ee37b81fe4011ac85bc /client.h
parentc00697e6438164e08baacc309b3dcdb727053aeb (diff)
add missing return in client_is_floating_type()
This causes all Xwayland clients to be treated as floating
Diffstat (limited to 'client.h')
-rw-r--r--client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.h b/client.h
index 41c9b9a..2ea0d22 100644
--- a/client.h
+++ b/client.h
@@ -113,6 +113,8 @@ client_is_float_type(Client *c)
&& (size_hints->max_width == size_hints->min_width ||
size_hints->max_height == size_hints->min_height))
return 1;
+
+ return 0;
}
#endif