From 37aaf4c1e44c205ccbe9ddb7f7633afdcf57fa0f Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 24 May 2007 21:39:23 +0000 Subject: merge r6815 from 3.4-working (!) 'fix positioning of tlt, top and trt resize elements. thanks mulberry' --- openbox/frame.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'openbox/frame.c') 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); -- cgit v1.2.3