diff options
| author | Dana Jansens <danakj@orodu.net> | 2009-11-21 16:43:00 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2009-11-21 16:55:28 -0500 |
| commit | ada5de28f71efaa5584709673cc49cdb3b703299 (patch) | |
| tree | 1e0a68605a7cdb54a02657bb8df4f2e79c491fdc /openbox/client.c | |
| parent | ac6cd2344f2afda023ac08017e0d2b19b0f66df8 (diff) | |
Don't ever give borders to windows that didnt have them before by making them "undecorated" with the keepborder config option on.
This fixes what commit 85f39cd27e7ea0eec8bc78f6139092b44fda2dad fixed for the
fullscreen window case, but also fixes bug #4344.
Diffstat (limited to 'openbox/client.c')
| -rw-r--r-- | openbox/client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/client.c b/openbox/client.c index fe342f65..efb815e7 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1826,7 +1826,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) - self->decorations = 0; + self->decorations &= (config_theme_keepborder ? + OB_FRAME_DECOR_BORDER : 0); /* if we don't have a titlebar, then we cannot shade! */ if (!(self->decorations & OB_FRAME_DECOR_TITLEBAR)) |
