diff options
author | runge <runge@karlrunge.com> | 2010-09-10 14:26:58 -0400 |
---|---|---|
committer | runge <runge@karlrunge.com> | 2010-09-10 14:26:58 -0400 |
commit | 067a88160c994e364ebb23900228633b84f99e91 (patch) | |
tree | af2b04b5a044482e35fce85bc48b5504f5e8a2ea /x11vnc/connections.c | |
parent | ad254469783b4720db64d8ebeeb12aeb0533e542 (diff) | |
download | libtdevnc-067a88160c994e364ebb23900228633b84f99e91.tar.gz libtdevnc-067a88160c994e364ebb23900228633b84f99e91.zip |
update to x11vnc 0.9.12
Diffstat (limited to 'x11vnc/connections.c')
-rw-r--r-- | x11vnc/connections.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/x11vnc/connections.c b/x11vnc/connections.c index d1af60e..abb7a27 100644 --- a/x11vnc/connections.c +++ b/x11vnc/connections.c @@ -932,11 +932,7 @@ void client_gone(rfbClientPtr client) { kill(gui_pid, SIGTERM); } CLIENT_UNLOCK; - if (connect_or_exit) { - clean_up_exit(1); - } else { - clean_up_exit(0); - } + clean_up_exit(0); } #ifdef MACOSX if (macosx_console && client_count == 0) { @@ -3149,7 +3145,7 @@ static void pmove(int x, int y) { return; } rfbLog("pmove: x y: %d %d\n", x, y); - pointer(0, x, y, NULL); + pointer_event(0, x, y, NULL); X_LOCK; XFlush_wr(dpy); X_UNLOCK; |