From b2006b8b451f52ce274980b6b3cb626d1347da88 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 11 May 2007 21:31:19 +0000 Subject: [PATCH] don't show handles on windows that cannot resize --- openbox/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) && -- 2.44.0