In the xscreensaver FAQ, and in the chbg src, there is some text, about using chbg to use it as a screen-saver (with xscreensaver). But in the configuration mode of xscreensaver (eg. xscreensaver-demo), it runs the external program with a ``-window-id XXX'' parameter, to show the screen saver in a little window. chbg has such an option, but named it: -windowid. So this patch make a trivial modification: both the original (and documented) -windowid, and the new (and undocumented) -window-id option works. Fix: apply this little patch: === Bye, Zahy < Gabor at Zahemszky dot HU >--8CuoGb8BAokfeUKFhfyW4sGkHhKMj00RXVwi3EKJiV6OtORZ Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" *** src/options.h.orig Tue Aug 19 22:51:46 2003 --- src/options.h Tue Aug 19 22:46:51 2003 *************** option_t chbg_opts[] = { *** 118,123 **** --- 118,124 ---- {CHBG_OPT_PATTERN, "-pattern", "Pattern:", 1}, {CHBG_OPT_INWINDOW, "-inwindow", "InWindow:", 0}, {CHBG_OPT_WINDOWID, "-windowid", NULL, 1}, + {CHBG_OPT_WINDOWID, "-window-id", NULL, 1}, {CHBG_OPT_RUN, "-run", NULL, 0}, {CHBG_OPT_MIN_PSIZE, "-min_psize", "MinPictureSize:", 1}, {CHBG_OPT_DEFFECTS, "-deffects", "DisabledEffects:", 1}, === How-To-Repeat: Use chbg as a screensaver modul in xscreensaver, as written in the FAQ. In an xterm window, start xscreensaver-demo, and try chbg. There will be an error message from chbg, about the -window-id option in the xterm, and an error message in the xscreensaver window. With my little patch, there will be no error messages, and we will see the demo of chbg.
Responsible Changed From-To: freebsd-ports-bugs->dougb over to maintainer
Responsible Changed From-To: dougb->netchild Misfiled, the patch is for chbg, not for xscreensaver.
State Changed From-To: open->closed Committed, thanks.