From 6f47809af2e44e28d9f97c11b26726e62ee2654f Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 24 Sep 2006 00:08:42 +0000 Subject: x11vnc: improve SSL Java viewer, cleanup -unixpw code. --- x11vnc/pointer.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'x11vnc/pointer.c') diff --git a/x11vnc/pointer.c b/x11vnc/pointer.c index 0fa2919..a0bd07e 100644 --- a/x11vnc/pointer.c +++ b/x11vnc/pointer.c @@ -617,7 +617,6 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { if (mask >= 0) { got_pointer_calls++; } - get_allowed_input(client, &input); if (debug_pointer && mask >= 0) { static int show_motion = -1; @@ -643,10 +642,13 @@ void pointer(int mask, int x, int y, rfbClientPtr client) { last_x = x; last_y = y; } - if (unixpw && unixpw_in_progress) { + + if (unixpw_in_progress) { return; } + get_allowed_input(client, &input); + if (rotating) { rotate_coords_inverse(x, y, &x, &y, -1, -1); } -- cgit v1.2.3