all repos — openbox @ cc813ed698b555757a3df4fbfcc25f0d1e8655be

openbox fork - make it a bit more like ryudo

make the value boolean
Dana Jansens danakj@orodu.net
commit

cc813ed698b555757a3df4fbfcc25f0d1e8655be

parent

32808b53a58e2c8ed3893e5156d4846a88a94fb6

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -706,7 +706,7 @@ SIZE_SET(self->max_size, G_MAXINT, G_MAXINT);

/* 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;