diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-11 18:56:19 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-11 18:56:19 +0000 |
| commit | e549a2d0e043f2a2a9002c641635d2bb48215134 (patch) | |
| tree | f8997d8321e37ec624a0aabfa4e695552e976056 /openbox/client.c | |
| parent | 4c56b2de8d649764755036c1ff8c0618c22fb468 (diff) | |
when undecorated and keepborder is on, show only the outside border not the clientborder
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/openbox/client.c b/openbox/client.c index 15b61352..5faeacca 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1708,12 +1708,8 @@ void client_setup_decor_and_functions(ObClient *self, gboolean reconfig) /* finally, the user can have requested no decorations, which overrides everything (but doesnt give it a border if it doesnt have one) */ - if (self->undecorated) { - if (config_theme_keepborder) - self->decorations &= OB_FRAME_DECOR_BORDER; - else - self->decorations = 0; - } + if (self->undecorated) + self->decorations = 0; /* if we don't have a titlebar, then we cannot shade! */ if (!(self->decorations & OB_FRAME_DECOR_TITLEBAR)) |
