1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-05 13:24:14 +01:00

pass pixmap to the plugin.

This commit is contained in:
id
2000-12-05 00:53:11 +00:00
parent 762d37f1fb
commit 5d0157cf7b
2 changed files with 1 additions and 1 deletions

View File

@@ -1088,6 +1088,7 @@ wFrameWindowPaint(WFrameWindow *fwin)
*fwin->title_gc, *fwin->title_gc,
*fwin->font, *fwin->font,
scr->drawstring_func[DRAWSTRING_CURRENT_STATE]->data, scr->drawstring_func[DRAWSTRING_CURRENT_STATE]->data,
fwin->title_back[fwin->flags.state],
"extendable"); "extendable");
scr->drawstring_func[DRAWSTRING_CURRENT_STATE]->proc.drawString( scr->drawstring_func[DRAWSTRING_CURRENT_STATE]->proc.drawString(
scr->drawstring_func[DRAWSTRING_CURRENT_STATE]->arg, scr->drawstring_func[DRAWSTRING_CURRENT_STATE]->arg,

View File

@@ -101,7 +101,6 @@ wPluginCreateFunction(int type, char *library_name,
if (pl_arg) function->arg = PLDeepCopy(pl_arg); if (pl_arg) function->arg = PLDeepCopy(pl_arg);
function->data = init_data; function->data = init_data;
printf("init data %x\n", function->data);
if (init_proc_name) { if (init_proc_name) {
initProc = dlsym(function->handle, init_proc_name); initProc = dlsym(function->handle, init_proc_name);
if (initProc) { if (initProc) {