X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fclient.c;h=fc087d44848f6f1547dd874113747f27f9497872;hb=4bf6b1b551be744be4fbe4d1faab5be12d051378;hp=060499b0653ec7713822ae0acdfe03438f92ed50;hpb=c02c825cb8f18f0170b312ea8d4b3f4d491bff40;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index 060499b0..fc087d44 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1752,7 +1752,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))