mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Fix software cursor rendering for tinywl and some examples
This commit is contained in:
parent
8134d5b1e0
commit
776b6ce395
3 changed files with 10 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ void output_frame_notify(struct wl_listener *listener, void *data) {
|
|||
wlr_output_make_current(wlr_output, NULL);
|
||||
wlr_renderer_begin(renderer, wlr_output->width, wlr_output->height);
|
||||
wlr_renderer_clear(renderer, state->clear_color);
|
||||
wlr_output_render_software_cursors(wlr_output, NULL);
|
||||
wlr_output_swap_buffers(wlr_output, NULL, NULL);
|
||||
wlr_renderer_end(renderer);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue