From 96eab1423fbb92bfe35dc1cad0e43a90b9f1bc21 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 31 Aug 2006 13:43:19 +0000 Subject: [PATCH] oops, added borders to windows when keepborder was on and they didnt have one to start with, ie docks etc --- openbox/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } } -- 2.45.2