diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-28 10:02:21 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-28 10:02:21 +0000 |
| commit | cc813ed698b555757a3df4fbfcc25f0d1e8655be (patch) | |
| tree | 49c8258999f9b1c2a76496035de388e8bcecf7ff /openbox/client.c | |
| parent | 32808b53a58e2c8ed3893e5156d4846a88a94fb6 (diff) | |
make the value boolean
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
