mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 10:27:24 +00:00
...
This commit is contained in:
parent
e6cff1e9b6
commit
f9972bc33c
1 changed files with 2 additions and 2 deletions
|
|
@ -97,8 +97,8 @@ cursor_pos_callback(GLFWwindow *w, double x, double y) {
|
|||
double now = monotonic();
|
||||
global_state.last_mouse_activity_at = now;
|
||||
global_state.cursor_blink_zero_time = now;
|
||||
global_state.mouse_x = (int)(x * global_state.viewport_x_ratio);
|
||||
global_state.mouse_y = (int)(y * global_state.viewport_y_ratio);
|
||||
global_state.mouse_x = x * global_state.viewport_x_ratio;
|
||||
global_state.mouse_y = y * global_state.viewport_y_ratio;
|
||||
mouse_event(-1, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue