]> Dogcows Code - chaz/openbox/commitdiff
fix rendering of the new top corner resize handles
authorDana Jansens <danakj@orodu.net>
Thu, 8 Mar 2007 03:31:42 +0000 (03:31 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 8 Mar 2007 03:31:42 +0000 (03:31 +0000)
openbox/framerender.c

index f0b83becb02eb3fe1cf7cc283276eef1dd7194e5..8795a9dbdd6112744abef8a51325239b12f73ba2 100644 (file)
@@ -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);
This page took 0.02472 seconds and 4 git commands to generate.