add missing include, pass right args to font_draw
This commit is contained in:
parent
f8ad321e50
commit
1f28946958
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include "render.h"
|
#include "render.h"
|
||||||
#include "gradient.h"
|
#include "gradient.h"
|
||||||
|
#include "font.h"
|
||||||
#include "../kernel/openbox.h"
|
#include "../kernel/openbox.h"
|
||||||
|
|
||||||
int render_depth;
|
int render_depth;
|
||||||
|
@ -86,7 +87,7 @@ void x_paint(Window win, Appearance *l, int w, int h)
|
||||||
l->xftdraw = XftDrawCreate(ob_display, l->pixmap,
|
l->xftdraw = XftDrawCreate(ob_display, l->pixmap,
|
||||||
render_visual, render_colormap);
|
render_visual, render_colormap);
|
||||||
}
|
}
|
||||||
font_draw(l->xftdraw, l->texture[i].data.text);
|
font_draw(l->xftdraw, &l->texture[i].data.text);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue