wlroots/backend
Uli Schlachter e5ab12339f x11 backend: Expose events mean "needs swap"
When the X11 server sends an expose event, that means that "this
rectangle here (the event contains x,y,width,height) has undefined
contents on your window; please redraw that". This means that we need a
swap. However, so far the code does not actually enforce that a swap
happens.

For example, start rootston, switch to another workspace and then switch
back. The rootston window will not be redrawn (before commit
52b058c2a3, it would just be fully white; after that commit it will
show whatever was visible on the old workspace). This is because the
drawing code concludes that nothing needs to be done. However, in fact a
swap is necessary.

This reverts commit e79d924588, because its optimisation is already
done now: wlr_output_update_needs_swap() emits a signal, which is
handled by wlr_output_damage with a call to wlr_output_schedule_frame().
This function does nothing if a frame is already pending. Thus, the
optimisation from commit e79d924588 now happens implicitly.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2018-04-15 11:41:09 +02:00
..
drm backend: remove wlr_backend_get_egl 2018-04-08 11:00:56 -04:00
headless backend: remove wlr_backend_get_egl 2018-04-08 11:00:56 -04:00
libinput Implement input inhibit in rootston 2018-04-03 15:09:53 -04:00
multi backend: remove wlr_backend_get_egl 2018-04-08 11:00:56 -04:00
session Revert "ELF Visibility" 2018-02-19 18:01:27 -05:00
wayland backend: remove wlr_backend_get_egl 2018-04-08 11:00:56 -04:00
x11 x11 backend: Expose events mean "needs swap" 2018-04-15 11:41:09 +02:00
backend.c backend: remove wlr_backend_get_egl 2018-04-08 11:00:56 -04:00
meson.build backend/x11: refactor, prepare support for multiple outputs 2018-03-30 23:51:16 -04:00