diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2004-03-21 20:02:47 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2004-03-21 20:02:47 +0000 |
| commit | f870d32397649a4d14e67fc638a57b5669c1009b (patch) | |
| tree | df4138ecd864168244e9d0b7ade0c18051c5bb21 /openbox/client.c | |
| parent | 39748e41800b03732b0745f6fcd76b61dd93769f (diff) | |
two hands raised, keepBorder added to <theme> section
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c index a465f566..12bfb6a6 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1257,8 +1257,12 @@ void client_setup_decor_and_functions(ObClient *self) /* 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) - self->decorations = 0; //&= OB_FRAME_DECOR_BORDER; + if (self->undecorated) { + if (config_theme_keepborder) + self->decorations &= OB_FRAME_DECOR_BORDER; + else + self->decorations = 0; + } /* if we don't have a titlebar, then we cannot shade! */ if (!(self->decorations & OB_FRAME_DECOR_TITLEBAR)) |
