rem: wApplicationExtractDirPackIcon(wwin->screen_ptr,argv[0], wwin->wm_instance, wwin->wm_class); XFreeStringList(argv);
add: progname = GetProgramNameForWindow(wwin->client_win); if (progname) { wApplicationExtractDirPackIcon(wwin->screen_ptr, progname, wwin->wm_instance, wwin->wm_class); wfree(progname); }
context: extractIcon(WWindow *wwin){    int argc;    char **argv;        if (!XGetCommand(dpy, wwin->client_win, &argv, &argc) || argc < 1)	return;    wApplicationExtractDirPackIcon(wwin->screen_ptr,argv[0], 				   wwin->wm_instance,				   wwin->wm_class);    XFreeStringList(argv);}