make the value boolean

This commit is contained in:
Dana Jansens 2003-03-28 10:02:21 +00:00
parent 32808b53a5
commit cc813ed698

View 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;