mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-21 12:42:25 +00:00
Fix: Ensure minimum 1ms wait for cursor trail to prevent input blocking
This commit is contained in:
parent
d5356804c8
commit
5075c3bd41
1 changed files with 1 additions and 1 deletions
|
|
@ -753,7 +753,7 @@ prepare_to_render_os_window(OSWindow *os_window, monotonic_t now, unsigned int *
|
|||
*active_window_bg = window_bg;
|
||||
if (OPT(cursor_trail) && update_cursor_trail(&tab->cursor_trail, w, now, os_window)) {
|
||||
needs_render = true;
|
||||
set_maximum_wait(OPT(repaint_delay));
|
||||
set_maximum_wait(MAX(OPT(repaint_delay), ms_to_monotonic_t(1ll)));
|
||||
}
|
||||
} else {
|
||||
if (WD.screen->cursor_render_info.render_even_when_unfocused) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue