summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-11 21:31:19 +0000
committerDana Jansens <danakj@orodu.net>2007-05-11 21:31:19 +0000
commitb2006b8b451f52ce274980b6b3cb626d1347da88 (patch)
treef85a4eccc99192e8ce82eeb691886e8837bcbcc9 /openbox
parentb23476ed5855bf92d6e0038bdcecf0141849ddea (diff)
don't show handles on windows that cannot resize
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c2
1 files changed, 1 insertions, 1 deletions
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) &&