diff options
author | Simon Howard | 2014-03-16 20:39:46 -0400 |
---|---|---|
committer | Simon Howard | 2014-03-16 20:39:46 -0400 |
commit | 9e112d6d1d5329bd4b928934244c7f2330b2dfb1 (patch) | |
tree | 37f4c493ebe606fff6f841d3901100719f509c40 /src/doom/hu_lib.c | |
parent | b96bbaa06d91cce1e62e20cae78095a7fc14a48b (diff) | |
download | chocolate-doom-9e112d6d1d5329bd4b928934244c7f2330b2dfb1.tar.gz chocolate-doom-9e112d6d1d5329bd4b928934244c7f2330b2dfb1.tar.bz2 chocolate-doom-9e112d6d1d5329bd4b928934244c7f2330b2dfb1.zip |
video: Center mouse when grabbing cursor.
When releasing mouse grab (activating menu etc.) we move the mouse
cursor to a non-distracting location at the bottom-right of the
screen. But this was causing abrupt jerks in mouse movement when
re-grabbing the mouse again. Center the mouse when turning on grab so
that this doesn't happen.
This fixes #283.
Diffstat (limited to 'src/doom/hu_lib.c')
0 files changed, 0 insertions, 0 deletions