Output: render software cursors

As mentioned, this is a no-op when there hardware cursors are supported.

Fixes #14.
This commit is contained in:
Jente Hidskes 2019-01-17 11:04:14 +01:00
parent b6024e982f
commit 14aadbca1b
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA

View file

@ -140,6 +140,9 @@ handle_output_frame(struct wl_listener *listener, void *data)
}
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_output_swap_buffers(output->wlr_output, NULL, NULL);