diff options
Diffstat (limited to 'x11vnc/remote.c')
| -rw-r--r-- | x11vnc/remote.c | 15 | 
1 files changed, 15 insertions, 0 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index 4080554..7c68493 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -3173,6 +3173,21 @@ char *process_remote_cmd(char *cmd, int stringonly) {  		    screen_blank, w);  		screen_blank = w; +	} else if (!strcmp(p, "fbpm")) { +		if (query) { +			snprintf(buf, bufn, "ans=%s:%d", p, !watch_fbpm); +			    goto qry; +		} +		rfbLog("remote_cmd: turning off -nofbpm mode.\n"); +		watch_fbpm = 0; +	} else if (!strcmp(p, "nofbpm")) { +		if (query) { +			snprintf(buf, bufn, "ans=%s:%d", p, watch_fbpm); +			    goto qry; +		} +		rfbLog("remote_cmd: turning on -nofbpm mode.\n"); +		watch_fbpm = 1; +  	} else if (strstr(p, "fs") == p) {  		COLON_CHECK("fs:")  		if (query) {  | 
