From: Dana Jansens Date: Fri, 28 Mar 2003 10:02:21 +0000 (+0000) Subject: make the value boolean X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=cc813ed698b555757a3df4fbfcc25f0d1e8655be;p=chaz%2Fopenbox make the value boolean --- 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;