mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-11 02:59:40 +02:00
handle paused_rendering state
This commit is contained in:
@@ -40,7 +40,8 @@ update_cursor_trail(CursorTrail *ct, Window *w, monotonic_t now, OSWindow *os_wi
|
||||
bool needs_render_prev = ct->needs_render;
|
||||
ct->needs_render = false;
|
||||
|
||||
if (!get_cursor_edge(&ct->cursor_edge_x[0], &ct->cursor_edge_x[1],
|
||||
if (!WD.screen->paused_rendering.expires_at &&
|
||||
!get_cursor_edge(&ct->cursor_edge_x[0], &ct->cursor_edge_x[1],
|
||||
&ct->cursor_edge_y[0], &ct->cursor_edge_y[1], w)) {
|
||||
return needs_render_prev;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user