Fix flickering when switching VT

This commit is contained in:
emersion 2018-01-27 11:16:42 +01:00
parent 7111dd79ef
commit 7adf13e284
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 10 additions and 7 deletions

View file

@ -419,8 +419,6 @@ static void render_output(struct roots_output *output) {
goto renderer_end;
}
wlr_renderer_clear(output->desktop->server->renderer, 1, 1, 1, 1);
int nrects;
pixman_box32_t *rects = pixman_region32_rectangles(&damage, &nrects);
for (int i = 0; i < nrects; ++i) {