mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-24 01:40:32 -05:00
Output: render software cursors
As mentioned, this is a no-op when there hardware cursors are supported. Fixes #14.
This commit is contained in:
parent
b6024e982f
commit
14aadbca1b
1 changed files with 3 additions and 0 deletions
3
output.c
3
output.c
|
|
@ -140,6 +140,9 @@ handle_output_frame(struct wl_listener *listener, void *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
drag_icons_for_each_surface(output->server, render_surface, &rdata);
|
drag_icons_for_each_surface(output->server, render_surface, &rdata);
|
||||||
|
/* Draw software cursor in case hardware cursors aren't
|
||||||
|
available. This is a no-op when they are. */
|
||||||
|
wlr_output_render_software_cursors(output->wlr_output, NULL);
|
||||||
|
|
||||||
wlr_renderer_end(renderer);
|
wlr_renderer_end(renderer);
|
||||||
wlr_output_swap_buffers(output->wlr_output, NULL, NULL);
|
wlr_output_swap_buffers(output->wlr_output, NULL, NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue