1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Make draw string plugin more extendable in future.

This commit is contained in:
id
2000-11-30 15:32:19 +00:00
parent 867ed95485
commit 1752587a4a
4 changed files with 7 additions and 9 deletions

View File

@@ -2211,7 +2211,7 @@ getTextRenderer(WScreen *scr, WDefaultEntry *entry, proplist_t value,
func = PLGetString(elem);
scr->drawstring_func[changed] = wPluginCreateFunction (W_FUNCTION_DRAWSTRING,
lib, "initDrawString", func, "destroyDrawString", value,
wPluginPackInitData(3, dpy, scr->w_colormap,"-DATA-"));
wPluginPackData(3, dpy, scr->w_colormap,"-DATA-"));
}
return getColor(scr, entry, PLGetArrayElement(value,3), addr, ret);