summaryrefslogtreecommitdiffstats
path: root/x11vnc/connections.c
diff options
context:
space:
mode:
authorrunge <runge>2007-01-31 15:41:42 +0000
committerrunge <runge>2007-01-31 15:41:42 +0000
commit1b9082bc8739e5ab186092ca1dcff1736eb91c0e (patch)
tree9d2a267bcbba93aed87634838c9ac10f36363210 /x11vnc/connections.c
parent1f8da9bde3b7de272228872410143f076662ae13 (diff)
downloadlibtdevnc-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.tar.gz
libtdevnc-1b9082bc8739e5ab186092ca1dcff1736eb91c0e.zip
x11vnc: -reflect, -N. -ncache, FINDDISPLAY, FINDCREATEDISPLAY, improvements. MODTWEAK_LOWEST workaround.
Diffstat (limited to 'x11vnc/connections.c')
-rw-r--r--x11vnc/connections.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11vnc/connections.c b/x11vnc/connections.c
index 71d4487..61e59b4 100644
--- a/x11vnc/connections.c
+++ b/x11vnc/connections.c
@@ -517,8 +517,9 @@ int run_user_command(char *cmd, rfbClientPtr client, char *mode, char *input,
clean_up_exit(1);
}
rfbLog("running command:\n");
- rfbLog(" %s\n", cmd);
-
+ if (!quiet) {
+ fprintf(stderr, "\n %s\n\n", cmd);
+ }
close_exec_fds();
if (output != NULL) {
@@ -668,6 +669,9 @@ void client_gone(rfbClientPtr client) {
if (use_solid_bg && client_count == 0) {
solid_bg(1);
}
+ if ((ncache || ncache0) && client_count == 0) {
+ kde_no_animate(1);
+ }
if (client->clientData) {
cd = (ClientData *) client->clientData;
if (cd->ssl_helper_pid > 0) {