]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
when undecorated and keepborder is on, show only the outside border not the clientborder
[chaz/openbox] / openbox / client.c
index 15b613524758ccce29a41d793d18eca394f451a1..5faeacca9ed7bd0b03181c98b6021d47c762696a 100644 (file)
@@ -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))
This page took 0.023701 seconds and 4 git commands to generate.