diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-05-24 21:39:23 +0000 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@comhem.se> | 2007-05-24 21:39:23 +0000 |
| commit | 37aaf4c1e44c205ccbe9ddb7f7633afdcf57fa0f (patch) | |
| tree | c161000a6c6616db04f93ad33cfac48e24ac990e /openbox/frame.c | |
| parent | f9cf8fcea8af71268fdf3e063a96f2e3d25226d8 (diff) | |
merge r6815 from 3.4-working (!) 'fix positioning of tlt, top and trt resize elements. thanks mulberry'
Diffstat (limited to 'openbox/frame.c')
| -rw-r--r-- | openbox/frame.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/openbox/frame.c b/openbox/frame.c index 16910265..37e39e2e 100644 --- a/openbox/frame.c +++ b/openbox/frame.c @@ -446,19 +446,17 @@ void frame_adjust_area(ObFrame *self, gboolean moved, if (self->decorations & OB_FRAME_DECOR_GRIPS) { XMoveResizeWindow(ob_display, self->topresize, - ob_rr_theme->grip_width + self->bwidth, + ob_rr_theme->grip_width, 0, self->width - ob_rr_theme->grip_width *2, ob_rr_theme->paddingy + 1); - XMoveWindow(ob_display, self->tltresize, self->bwidth, 0); - XMoveWindow(ob_display, self->tllresize, self->bwidth, 0); + XMoveWindow(ob_display, self->tltresize, 0, 0); + XMoveWindow(ob_display, self->tllresize, 0, 0); XMoveWindow(ob_display, self->trtresize, - self->bwidth + self->width - - ob_rr_theme->grip_width, 0); + self->width - ob_rr_theme->grip_width, 0); XMoveWindow(ob_display, self->trrresize, - self->bwidth + self->width - - ob_rr_theme->paddingx - 1, 0); + self->width - ob_rr_theme->paddingx - 1, 0); XMapWindow(ob_display, self->topresize); XMapWindow(ob_display, self->tltresize); |
