make the value boolean
This commit is contained in:
parent
32808b53a5
commit
cc813ed698
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue