all repos — openbox @ b7d2693742aeb7514ce1111399bc5c3e93392335

openbox fork - make it a bit more like ryudo

dont give decorless windows a border when toggling decorations
Dana Jansens danakj@orodu.net
commit

b7d2693742aeb7514ce1111399bc5c3e93392335

parent

b9d47c49d6e4272e1cda7cec2c58e925cb610776

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

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

@@ -1180,9 +1180,9 @@ if (self->max_vert && self->max_horz)

self->decorations &= ~OB_FRAME_DECOR_HANDLE; /* finally, the user can have requested no decorations, which overrides - everything */ + everything (but doesnt give it a border if it doesnt have one) */ if (self->undecorated) - self->decorations = OB_FRAME_DECOR_BORDER; + self->decorations &= OB_FRAME_DECOR_BORDER; /* if we don't have a titlebar, then we cannot shade! */ if (!(self->decorations & OB_FRAME_DECOR_TITLEBAR))