From: Dana Jansens Date: Thu, 8 Mar 2007 03:31:42 +0000 (+0000) Subject: fix rendering of the new top corner resize handles X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=976eb4c511989267523c1115ecf0e80b44251824;p=chaz%2Fopenbox fix rendering of the new top corner resize handles --- diff --git a/openbox/framerender.c b/openbox/framerender.c index f0b83bec..8795a9db 100644 --- a/openbox/framerender.c +++ b/openbox/framerender.c @@ -148,17 +148,21 @@ void framerender_frame(ObFrame *self) if (ob_rr_theme->grip_width > 0) RrPaint(ob_rr_theme->a_clear, self->tltresize, - ob_rr_theme->grip_width, ob_rr_theme->paddingy); + ob_rr_theme->grip_width, ob_rr_theme->paddingy + 1); if (ob_rr_theme->title_height > 0) RrPaint(ob_rr_theme->a_clear, self->tllresize, - ob_rr_theme->paddingx, ob_rr_theme->title_height); + ob_rr_theme->paddingx + 1, ob_rr_theme->title_height); ob_rr_theme->a_clear->surface.parentx = self->width - ob_rr_theme->grip_width; if (ob_rr_theme->grip_width > 0) RrPaint(ob_rr_theme->a_clear, self->trtresize, - ob_rr_theme->grip_width, ob_rr_theme->paddingy); + ob_rr_theme->grip_width, ob_rr_theme->paddingy + 1); + + ob_rr_theme->a_clear->surface.parentx = + self->width - (ob_rr_theme->paddingx + 1); + if (ob_rr_theme->title_height > 0) RrPaint(ob_rr_theme->a_clear, self->trrresize, ob_rr_theme->paddingx, ob_rr_theme->title_height);