diff options
Diffstat (limited to 'x11vnc/remote.c')
-rw-r--r-- | x11vnc/remote.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/x11vnc/remote.c b/x11vnc/remote.c index 8aada19..22295f0 100644 --- a/x11vnc/remote.c +++ b/x11vnc/remote.c @@ -2537,6 +2537,14 @@ char *process_remote_cmd(char *cmd, int stringonly) { sound_bell = 0; goto done; } + if (!strcmp(p, "sendbell")) { + NOTAPP + rfbLog("remote_cmd: sendbell.\n"); + if (screen && client_count) { + rfbSendBell(screen); + } + goto done; + } if (!strcmp(p, "sel")) { if (query) { snprintf(buf, bufn, "ans=%s:%d", p, watch_selection); |