Menu

#14 "unknown option : -window-id" Warning with xscreensaver

open
nobody
None
5
2005-09-05
2005-09-05
Marco Ratto
No

Running ChBg configured under xscreensaver, I have this
warning:

# xscreensaver-demo
unknown option : -window-id
chbg-1.5
Use -h option to print full list of available options

I think, this warning is abaut the different option
-windowid in ChBg.
I applied this patch to the version 1.5:

--- options.h 2001-08-02 23:15:47.000000000 +0200
+++ ../../chbg-1.5.1/src/options.h 2005-09-05
09:56:58.000000000 +0200
@@ -117,7 +117,7 @@
{CHBG_OPT_R, "-R", "Recurse:", 0},
{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},
--- config.c 2001-08-02 23:18:20.000000000 +0200
+++ ../../chbg-1.5.1/src/config.c 2005-09-05
09:57:23.000000000 +0200
@@ -503,7 +503,7 @@
printf(gettext("\t-pattern $ptrn -
wildcard pattern for picture selection in\n"
"\t
recursion through directories\n"));
printf(gettext("\t-inwindow - run
in own window not on root\n"));
- printf(gettext("\t-windowid $id - run
in existing X window with known window ID\n"));
+ printf(gettext("\t-window-id $id - run
in existing X window with known window ID\n"));
printf(gettext("\t-run - start
runining, after setup window is popped up\n"
"\t (have
effect only when used with -setup option)\n"));
printf(gettext("\t-min_psize $nr -
minimal allowed size of picture when recursing\n"

And the warning is solved.

regards
Marco

Discussion


Log in to post a comment.