summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-08-31 13:43:19 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-08-31 13:43:19 +0000
commit96eab1423fbb92bfe35dc1cad0e43a90b9f1bc21 (patch)
tree8f5417d9ea3a9c0ac29ef993dfaf34a62b5fba6e /openbox
parent9b7915ffd15774fbb918e5b0f1f0615b49fe59dd (diff)
oops, added borders to windows when keepborder was on and they didnt have one to start with, ie docks etc
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c3
1 files changed, 2 insertions, 1 deletions
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;
}
}