diff options
author | Alexander Bakker <ab@alexbakker.me> | 2019-01-13 17:22:18 +0100 |
---|---|---|
committer | Alexander Bakker <ab@alexbakker.me> | 2019-01-13 21:39:56 +0100 |
commit | 776b6ce39512c00d756b994528b4fb300c0d5610 (patch) | |
tree | 8a67242c39b2086bf6c31891e5a1996770ea872c /examples/pointer.c | |
parent | 8134d5b1e0b8c65f7c8b2e7ae626c1f2e5cbc9e1 (diff) |
Fix software cursor rendering for tinywl and some examples
Diffstat (limited to 'examples/pointer.c')
-rw-r--r-- | examples/pointer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pointer.c b/examples/pointer.c index cc58c223..c7140d97 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -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); } |