diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-01 12:17:37 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-01 12:17:37 +0000 |
| commit | 564b727966ef1a38309d45b2ab040c3deeb658a4 (patch) | |
| tree | e7c1c4396ba399da0ad54f245bfe48d96beae42c /openbox/frame.c | |
| parent | cad10d8b6db8cb2be9802cea8e0c4db210431d50 (diff) | |
fix drawcontent=no resizing
Diffstat (limited to 'openbox/frame.c')
| -rw-r--r-- | openbox/frame.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/openbox/frame.c b/openbox/frame.c index f12dbfb2..8feef931 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -442,11 +442,9 @@ void frame_adjust_area(ObFrame *self, gboolean moved, self->client->area.height + self->cbwidth_y * 2); - /* move and resize the plate */ - XMoveResizeWindow(ob_display, self->plate, - self->cbwidth_x, self->cbwidth_y, - self->client->area.width, - self->client->area.height); + /* move the plate */ + XMoveWindow(ob_display, self->plate, + self->cbwidth_x, self->cbwidth_y); /* when the client has StaticGravity, it likes to move around. */ XMoveWindow(ob_display, self->client->window, 0, 0); @@ -511,6 +509,13 @@ void frame_adjust_area(ObFrame *self, gboolean moved, ob_rr_theme->label_height); } +void frame_adjust_client_area(ObFrame *self) +{ + /* resize the plate */ + XResizeWindow(ob_display, self->plate, + self->client->area.width, self->client->area.height); +} + void frame_adjust_state(ObFrame *self) { framerender_frame(self); |
