diff options
Diffstat (limited to 'mousetsr.c')
-rw-r--r-- | mousetsr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1126,8 +1126,8 @@ static void reset_mouse_settings() static void reset_mouse_state() { int i; - data.pos.x = data.min.x; - data.pos.y = data.min.y; + data.pos.x = data.min.x + (data.max.x - data.min.x) / 2; + data.pos.y = data.min.y + (data.max.y - data.min.y) / 2; data.pos_frac.x = 0; data.pos_frac.y = 0; data.delta.x = 0; |