diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-07-08 21:16:20 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-07-08 21:16:20 +0000 |
commit | 9b020ad7f31f9cfaf3c9d09136b71525dbe116e2 (patch) | |
tree | fbaad4ac8664b33fc1205edba61fe95f5df3e48f /usr.sbin | |
parent | acf51f9c579d73263a7ef4f9038d5988897e1afe (diff) | |
download | FreeBSD-src-9b020ad7f31f9cfaf3c9d09136b71525dbe116e2.zip FreeBSD-src-9b020ad7f31f9cfaf3c9d09136b71525dbe116e2.tar.gz |
Oops, remove a `mouse_move_delayed++' that shouldn't have been
added in the previous commit; this variable is already incremented
in the previous `if' condition.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/moused/moused.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c index 72aa6f7..8b9b922 100644 --- a/usr.sbin/moused/moused.c +++ b/usr.sbin/moused/moused.c @@ -1989,10 +1989,8 @@ r_statetrans(mousestatus_t *a1, mousestatus_t *a2, int trans) mouse_button_state = states[mouse_button_state].s[A_TIMEOUT]; changed = TRUE; - } else { + } else a2->dx = a2->dy = 0; - mouse_move_delayed++; - } } else mouse_move_delayed = 0; if (mouse_button_state != states[mouse_button_state].s[trans]) |