From a98c2e17fd35e70bf50cdfac5a884aa639b99a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 5 Dec 2013 12:30:37 -0800 Subject: [PATCH] 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 --- src/compositor-x11.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compositor-x11.c b/src/compositor-x11.c index 4c6a959a..b81dac07 100644 --- a/src/compositor-x11.c +++ b/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;