mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
output: fix software cursors damage tracking
This commit is contained in:
parent
b296481007
commit
e29a0df8c1
10 changed files with 74 additions and 33 deletions
|
|
@ -56,7 +56,7 @@ static void handle_output_frame(struct output_state *output, struct timespec *ts
|
|||
}
|
||||
|
||||
wlr_renderer_end(sample->renderer);
|
||||
wlr_output_swap_buffers(wlr_output);
|
||||
wlr_output_swap_buffers(wlr_output, NULL, NULL);
|
||||
|
||||
long ms = (ts->tv_sec - output->last_frame.tv_sec) * 1000 +
|
||||
(ts->tv_nsec - output->last_frame.tv_nsec) / 1000000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue