output: add wlr_output_render_software_cursors

Rendering in wlr_output_swap_buffers has unfortunate side-effects.
This commit is contained in:
emersion 2018-11-10 15:50:28 +01:00
parent 57307b7aa7
commit ca770995cc
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 121 additions and 93 deletions

View file

@ -518,6 +518,7 @@ static void render_output(struct roots_output *output) {
&output->layers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY]);
renderer_end:
wlr_output_render_software_cursors(wlr_output, &damage);
wlr_renderer_scissor(renderer, NULL);
wlr_renderer_end(renderer);