]> Dogcows Code - chaz/openbox/blobdiff - render/render.c
usnig flex directly, renaming symbols so that theres no clash with other lexers
[chaz/openbox] / render / render.c
index 397cebfaadc7dde9b7d490d2ac832847a4328223..25a79020bc68d7a34ef850d36ef978abc3240176 100644 (file)
@@ -136,12 +136,14 @@ void x_paint(Window win, Appearance *l, int x, int y, int w, int h)
                 l->xftdraw = XftDrawCreate(ob_display, l->pixmap, 
                                         render_visual, render_colormap);
             }
-            font_draw(l->xftdraw, &l->texture[i].data.text, x, y, w, h);
+            font_draw(l->xftdraw, &l->texture[i].data.text, 
+                      &l->texture[i].position);
         break;
         case Bitmask:
             if (l->texture[i].data.mask.color->gc == None)
                 color_allocate_gc(l->texture[i].data.mask.color);
-            mask_draw(l->pixmap, &l->texture[i].data.mask, w, h);
+            mask_draw(l->pixmap, &l->texture[i].data.mask,
+                      &l->texture[i].position);
         break;
         }
     }
This page took 0.024879 seconds and 4 git commands to generate.