summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2006-04-20 18:36:23 +0000
committerMikael Magnusson <mikachu@comhem.se>2006-04-20 18:36:23 +0000
commitad215303e7e651c0274d219709e109073bc4a032 (patch)
treee557bb9475800467441ac8e525209ed7f37a1823 /openbox/client.c
parent0efe52a12bdf838363b061c05a537a56f8daceae (diff)
fix #2670 (hilight first entry in menus) and respect keepBorder setting when removing borders from mwm hints
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 930f3ee4..583f0615 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1228,7 +1228,7 @@ 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 = 0;
+ self->decorations = config_theme_keepborder ? OB_FRAME_DECOR_BORDER : 0;
}
}