]> Dogcows Code - chaz/openbox/blobdiff - render/render.c
measure the font's height instead of listening to Xft
[chaz/openbox] / render / render.c
index 12b373ce70e7b0ad57efd36549559104526d19b1..481ef098c2059800a2ecdce44d374ff8f173ebce 100644 (file)
@@ -80,7 +80,7 @@ void x_paint(Window win, Appearance *l, int x, int y, int w, int h)
     l->surface.data.planar.pixel_data = g_new(pixel32, w * h);
 
     if (l->surface.data.planar.grad == Background_Solid)
-        gradient_solid(l, w, h);
+        gradient_solid(l, x, y, w, h);
     else gradient_render(&l->surface, w, h);
 
 /*reduce depth here...
This page took 0.02176 seconds and 4 git commands to generate.