From cc813ed698b555757a3df4fbfcc25f0d1e8655be Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 28 Mar 2003 10:02:21 +0000 Subject: [PATCH] make the value boolean --- openbox/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/client.c b/openbox/client.c index 209f5f96..75ba752b 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -706,7 +706,7 @@ void client_update_normal_hints(Client *self) /* get the hints from the window */ if (XGetWMNormalHints(ob_display, self->window, &size, &ret)) { - self->positioned = (size.flags & (PPosition|USPosition)); + self->positioned = !!(size.flags & (PPosition|USPosition)); if (size.flags & PWinGravity) { self->gravity = size.win_gravity; -- 2.39.2