X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=openbox%2Fclient.c;h=670e06bbe0f48ee42e4b25d4de2b1b48ac2a1f27;hb=440b862204e92ca0703d68d0f7f7d72bdef7d702;hp=041beb125ffc07ce723f39e9f80ce4ef696f2536;hpb=b968a7ac19664ff69c942cb91357e3bcd8551544;p=chaz%2Fopenbox diff --git a/openbox/client.c b/openbox/client.c index 041beb12..670e06bb 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1186,14 +1186,14 @@ void client_setup_decor_and_functions(ObClient *self) /* if we don't have a titlebar, then we cannot shade! */ if (!(self->decorations & OB_FRAME_DECOR_TITLEBAR)) - self->functions &= ~OB_CLIENT_FUNC_SHADE; + self->functions &= ~OB_CLIENT_FUNC_SHADE; /* now we need to check against rules for the client's current state */ if (self->fullscreen) { - self->functions &= (OB_CLIENT_FUNC_CLOSE | + self->functions &= (OB_CLIENT_FUNC_CLOSE | OB_CLIENT_FUNC_FULLSCREEN | OB_CLIENT_FUNC_ICONIFY); - self->decorations = 0; + self->decorations = 0; } client_change_allowed_actions(self);