diff options
Diffstat (limited to 'x11vnc/pointer.c')
-rw-r--r-- | x11vnc/pointer.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); } |