summaryrefslogtreecommitdiffstats
path: root/x11vnc/pointer.c
diff options
context:
space:
mode:
authorrunge <runge>2006-09-24 00:08:42 +0000
committerrunge <runge>2006-09-24 00:08:42 +0000
commit6f47809af2e44e28d9f97c11b26726e62ee2654f (patch)
treed2b3913ee11b81f7cf65cbe0b1bf31182e5c0e72 /x11vnc/pointer.c
parentb9688bb38d00bbc77a54464dabc7aa6313404f0c (diff)
downloadlibtdevnc-6f47809af2e44e28d9f97c11b26726e62ee2654f.tar.gz
libtdevnc-6f47809af2e44e28d9f97c11b26726e62ee2654f.zip
x11vnc: improve SSL Java viewer, cleanup -unixpw code.
Diffstat (limited to 'x11vnc/pointer.c')
-rw-r--r--x11vnc/pointer.c6
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);
}