]> Dogcows Code - chaz/openbox/commitdiff
don't show handles on windows that cannot resize
authorDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 21:31:19 +0000 (21:31 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 11 May 2007 21:31:19 +0000 (21:31 +0000)
openbox/client.c

index 2d68d32b7a33b9e038fb407ca4c8079b3648d7d3..ffac20d8f496d3181d7fec855748074922621eab 100644 (file)
@@ -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) &&
This page took 0.027439 seconds and 4 git commands to generate.