wlroots/backend/x11
Uli Schlachter e79d924588 x11 backend: Ignore expose if frame is pending
When resizing rootston with the mouse, the result is really slow. One
can see that rootston needs quite a while for drawing the newly visible
area. This is because every single expose event is handled on its own
and causes (apparently) a full repaint or at least a swap.

This commit improves things by only causing a new frame if none is
pending already.

With this change, there is almost no delay in rootston drawing the newly
visible area.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-04-15 11:07:31 +02:00
..
backend.c x11 backend: Ignore expose if frame is pending 2018-04-15 11:07:31 +02:00
input_device.c x11_handle_input_event: Remove return value 2018-04-15 10:33:53 +02:00
output.c x11 backend: Do not set a back pixel on windows 2018-04-15 11:07:31 +02:00