summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-25 08:37:23 +0000
committerDana Jansens <danakj@orodu.net>2003-08-25 08:37:23 +0000
commit7e7efa5c1a5457bd1cda4ecd7eda1ea3eddef12d (patch)
tree33c657a40ea150d10edf7f49cb61a4ab08cce22b /openbox
parent0964b804a135243968de22695b953f19f9e8b9d1 (diff)
set the client decorations to match the frame's so that there is not thot to be changes later on whene there were actually none
Diffstat (limited to 'openbox')
-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;