Set the wheel_delta to 0, otherwise we could send "spurious" wheel movements

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9032 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2004-09-23 06:45:20 +00:00
parent 6be70a0fa1
commit 86b8a8828a

View File

@ -276,6 +276,7 @@ packet_to_movement(uint8 packet[], mouse_pos *pos)
pos->clicks = sClickCount;
pos->modifiers = 0;
pos->time = currentTime;
pos->wheel_delta = 0;
}
}