]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
Don't ever give borders to windows that didnt have them before by making them "undeco...
[chaz/openbox] / openbox / client.c
index fe342f650cec2d804f101dec8a424422575d75ab..efb815e7fb6a6e93ad5eb564a60dd47cda129f1f 100644 (file)
@@ -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))
This page took 0.0213 seconds and 4 git commands to generate.