Tolerate specifying -BoolParam 0 and similar

This is needed by vncserver which doesn't know which parameters are
boolean, and it cannot use the -Param=Value form as that isn't tolerated
by the Xorg code.
This commit is contained in:
Pierre Ossman
2020-09-18 10:44:32 +02:00
committed by Lauri Kasanen
parent 3528e358cc
commit 45e44a66e5
3 changed files with 31 additions and 0 deletions

View File

@@ -41,6 +41,7 @@ int vncSetParam(const char *name, const char *value);
int vncSetParamSimple(const char *nameAndValue);
char* vncGetParam(const char *name);
const char* vncGetParamDesc(const char *name);
int vncIsParamBool(const char *name);
int vncGetParamCount(void);
char *vncGetParamList(void);