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

fix solid color when using plugin.

This commit is contained in:
id
2000-12-09 01:23:18 +00:00
parent 6ff939eb6e
commit 0e34a7ae28
5 changed files with 53 additions and 39 deletions

View File

@@ -2214,7 +2214,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,
wPluginPackData(3, dpy, scr->w_colormap,"-DATA-"));
wPluginPackData(3, dpy, &scr->w_colormap, "dummy"));
}
return getColor(scr, entry, PLGetArrayElement(value,3), addr, ret);