]> Dogcows Code - chaz/openbox/commitdiff
make the value boolean
authorDana Jansens <danakj@orodu.net>
Fri, 28 Mar 2003 10:02:21 +0000 (10:02 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 28 Mar 2003 10:02:21 +0000 (10:02 +0000)
openbox/client.c

index 209f5f9657e2b826fa0f4679047b0066e6e6093a..75ba752b57b8c9d4ef12e028c824b1a989f24184 100644 (file)
@@ -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;
This page took 0.029842 seconds and 4 git commands to generate.