Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 0d2bd3a

Browse files
committed
comment
1 parent 4407790 commit 0d2bd3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Managers/UInputMan.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ namespace RTE {
421421
#ifdef __unix__
422422
if (m_TrapMousePos != prevTrapStatus) {
423423
WarpMouse(_xwin.window_width / 2, _xwin.window_height / 2);
424+
// Note - Discard mickeys after this warp otherwise mouse will probably jump.
424425
int discard;
425426
get_mouse_mickeys(&discard, &discard);
426427
WarpMouse(_xwin.window_width / 2, _xwin.window_height / 2);

0 commit comments

Comments
 (0)