all repos — openbox @ b9532883a237fa8e04b7e6d1917e22f7518bbb19

openbox fork - make it a bit more like ryudo

dont use the keepBorder option for mwm hinted windows after all, but do honor the mwm_decor_border hint instead
Mikael Magnusson mikachu@comhem.se
commit

b9532883a237fa8e04b7e6d1917e22f7518bbb19

parent

b276ff81a125e31b11db2632928355433965c4a1

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

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

@@ -1303,9 +1303,12 @@ if (! (self->mwmhints.decorations & OB_MWM_DECOR_ALL)) {

if (! ((self->mwmhints.decorations & OB_MWM_DECOR_HANDLE) || (self->mwmhints.decorations & OB_MWM_DECOR_TITLE))) /* if the mwm hints request no handle or title, then all - decorations are disabled */ - self->decorations = config_theme_keepborder ? - self->decorations & OB_FRAME_DECOR_BORDER : 0; + decorations are disabled, but keep the border if that's + specified */ + if (self->mwmhints.decorations & OB_MWM_DECOR_BORDER) + self->decorations = OB_FRAME_DECOR_BORDER; + else + self->decorations = 0; } }