From: Dana Jansens Date: Fri, 11 May 2007 21:31:19 +0000 (+0000) Subject: don't show handles on windows that cannot resize X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=b2006b8b451f52ce274980b6b3cb626d1347da88;p=chaz%2Fopenbox don't show handles on windows that cannot resize --- diff --git a/openbox/client.c b/openbox/client.c index 2d68d32b..ffac20d8 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -1645,7 +1645,7 @@ void client_setup_decor_and_functions(ObClient *self) if (!(self->functions & OB_CLIENT_FUNC_ICONIFY)) self->decorations &= ~OB_FRAME_DECOR_ICONIFY; if (!(self->functions & OB_CLIENT_FUNC_RESIZE)) - self->decorations &= ~OB_FRAME_DECOR_GRIPS; + self->decorations &= ~(OB_FRAME_DECOR_GRIPS | OB_FRAME_DECOR_HANDLE); /* can't maximize without moving/resizing */ if (!((self->functions & OB_CLIENT_FUNC_MAXIMIZE) &&