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:
@@ -276,6 +276,7 @@ packet_to_movement(uint8 packet[], mouse_pos *pos)
|
|||||||
pos->clicks = sClickCount;
|
pos->clicks = sClickCount;
|
||||||
pos->modifiers = 0;
|
pos->modifiers = 0;
|
||||||
pos->time = currentTime;
|
pos->time = currentTime;
|
||||||
|
pos->wheel_delta = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user