From e59f78c5eaae3d7d0f98db064df0c85b1da1c7b9 Mon Sep 17 00:00:00 2001 From: runge Date: Wed, 4 Feb 2009 03:05:32 +0000 Subject: x11vnc: Add "sendbell" remote cmd. Fix copyrect updates under -reflect. Workaround that checks valid window of selection requestor. Wait on some ssl helper pids earlier. Workaround XAUTHLOCALHOSTNAME for some new usage modes. Set fake fb to requested bpp with correct masks. -padgeom once:... mode. Set LIBXCB_ALLOW_SLOPPY_LOCK by default. rfbRandomBytes earlier. classes/ssl: Update jars. Add "TOP_" dropdown customization to ultravnc java viewer applet FTP panel. --- x11vnc/remote.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'x11vnc/remote.c') 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); -- cgit v1.2.1