swayfx/sway/desktop
Kenny Levinsen 4b57953628 output: Ensure that frame_done is delayed on max_render_time
max_render_time can be set on output, view, or both. However, if only
applied to the output, send_frame_done_iterator would erroneously send
frame_done immediately, ignoring the output max_render_time. As
damage_handle_frame processed max_render_time correctly, idle frames
would be blocked in anticipation of the delay that was meant to happen.

Without the delay, frame events would be dispatched during the idle
frame block, and some clients would never receive the frame done events
they had requested, at least not until something else actively drove
another render.

Respecting both view and output max_render_time in
send_frame_done_iterator ensures that the frame events are always
correctly delayed.

Fixes #4756
2019-11-28 23:40:36 +01:00
..
desktop.c Stop using wlr_output->{lx,ly} 2019-03-11 12:43:01 -04:00
idle_inhibit_v1.c idle_inhibit: fix crash during view destruction 2019-04-03 19:46:08 +03:00
layer_shell.c Handle layer changes for layer shell surfaces 2019-10-27 11:07:18 -04:00
output.c output: Ensure that frame_done is delayed on max_render_time 2019-11-28 23:40:36 +01:00
render.c Use new presentation-time helper 2019-11-21 11:19:00 -05:00
surface.c view: add max_render_time 2019-11-17 20:18:42 +01:00
transaction.c Fix uninitialized read for wlr_surface_send_frame 2019-04-21 14:06:15 +03:00
xdg_shell.c Remove all wayland-server.h includes 2019-07-27 17:16:56 -04:00
xwayland.c xwayland: get_constraints using size hints 2019-11-16 10:18:26 +01:00