compositor-x11: Damage output when we receive expose events for the window
The gl renderer typically repaints everything since we don't have EGL_buffer_age under X, but the pixman renderer carefully only repaints damaged regions. So to actually repaint anything with the pixman renderer, we need to damage the output. https://bugs.freedesktop.org/show_bug.cgi?id=72351
This commit is contained in:
parent
44a3162eea
commit
a98c2e17fd
@ -1223,6 +1223,7 @@ x11_compositor_handle_event(int fd, uint32_t mask, void *data)
|
||||
case XCB_EXPOSE:
|
||||
expose = (xcb_expose_event_t *) event;
|
||||
output = x11_compositor_find_output(c, expose->window);
|
||||
weston_output_damage(&output->base);
|
||||
weston_output_schedule_repaint(&output->base);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user