handle paused_rendering state
This commit is contained in:
parent
aafc083219
commit
bf7f0ebc46
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue