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
dev
Kristian Høgsberg 11 years ago
parent 44a3162eea
commit a98c2e17fd
  1. 1
      src/compositor-x11.c

@ -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…
Cancel
Save