summaryrefslogtreecommitdiff
path: root/openbox/client.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-09 16:36:28 +0000
committerDana Jansens <danakj@orodu.net>2003-10-09 16:36:28 +0000
commitb7d2693742aeb7514ce1111399bc5c3e93392335 (patch)
tree2cb22fb976b3e2656de71fce61e5164955c37ecd /openbox/client.c
parentb9d47c49d6e4272e1cda7cec2c58e925cb610776 (diff)
dont give decorless windows a border when toggling decorations
Diffstat (limited to 'openbox/client.c')
-rw-r--r--openbox/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c
index b3ea0082..ec90ba24 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -1180,9 +1180,9 @@ void client_setup_decor_and_functions(ObClient *self)
self->decorations &= ~OB_FRAME_DECOR_HANDLE;
/* finally, the user can have requested no decorations, which overrides
- everything */
+ everything (but doesnt give it a border if it doesnt have one) */
if (self->undecorated)
- self->decorations = OB_FRAME_DECOR_BORDER;
+ self->decorations &= OB_FRAME_DECOR_BORDER;
/* if we don't have a titlebar, then we cannot shade! */
if (!(self->decorations & OB_FRAME_DECOR_TITLEBAR))