From: Mikael Magnusson Date: Thu, 31 Aug 2006 13:43:19 +0000 (+0000) Subject: oops, added borders to windows when keepborder was on and they didnt have one to... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=96eab1423fbb92bfe35dc1cad0e43a90b9f1bc21;p=chaz%2Fopenbox oops, added borders to windows when keepborder was on and they didnt have one to start with, ie docks etc --- diff --git a/openbox/client.c b/openbox/client.c index 866c6c01..457a0f6a 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1304,7 +1304,8 @@ void client_setup_decor_and_functions(ObClient *self) (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 ? OB_FRAME_DECOR_BORDER : 0; + self->decorations = config_theme_keepborder ? + self->decorations & OB_FRAME_DECOR_BORDER : 0; } }