dont use the keepBorder option for mwm hinted windows after all, but do honor the mwm_decor_border hint instead
This commit is contained in:
parent
b276ff81a1
commit
b9532883a2
1 changed files with 6 additions and 3 deletions
|
@ -1303,9 +1303,12 @@ void client_setup_decor_and_functions(ObClient *self)
|
||||||
if (! ((self->mwmhints.decorations & OB_MWM_DECOR_HANDLE) ||
|
if (! ((self->mwmhints.decorations & OB_MWM_DECOR_HANDLE) ||
|
||||||
(self->mwmhints.decorations & OB_MWM_DECOR_TITLE)))
|
(self->mwmhints.decorations & OB_MWM_DECOR_TITLE)))
|
||||||
/* if the mwm hints request no handle or title, then all
|
/* if the mwm hints request no handle or title, then all
|
||||||
decorations are disabled */
|
decorations are disabled, but keep the border if that's
|
||||||
self->decorations = config_theme_keepborder ?
|
specified */
|
||||||
self->decorations & OB_FRAME_DECOR_BORDER : 0;
|
if (self->mwmhints.decorations & OB_MWM_DECOR_BORDER)
|
||||||
|
self->decorations = OB_FRAME_DECOR_BORDER;
|
||||||
|
else
|
||||||
|
self->decorations = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue