diff options
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; |