summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/frame.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/frame.c b/openbox/frame.c
index 2f1fae30..633b7cef 100644
--- a/openbox/frame.c
+++ b/openbox/frame.c
@@ -223,7 +223,8 @@ void frame_adjust_area(ObFrame *self, gboolean moved,
self->rbwidth = self->bwidth;
if (self->client->max_vert && self->client->max_horz)
- self->decorations &= ~OB_FRAME_DECOR_HANDLE;
+ self->client->decorations =
+ self->decorations &= ~OB_FRAME_DECOR_HANDLE;
if (self->client->max_horz)
self->bwidth = self->cbwidth_x = 0;