sway/sway
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
..
commands config: improvements to the reload validation 2019-11-27 02:04:13 +01:00
config Add support for wlr_keyboard_group 2019-11-21 10:42:10 -05:00
desktop output: Ensure that frame_done is delayed on max_render_time 2019-11-28 23:40:36 +01:00
input input/keyboard: reset seat keyboard on destroy 2019-11-28 10:34:49 +01:00
tree output: add max_render_time 2019-11-17 20:18:42 +01:00
commands.c view: add max_render_time 2019-11-17 20:18:42 +01:00
config.c config: improvements to the reload validation 2019-11-27 02:04:13 +01:00
criteria.c criteria: make literal comparison for __focused__ values 2019-10-27 11:06:05 -04:00
decoration.c Fix double free when unmapping any view 2018-11-15 15:22:09 +10:00
ipc-json.c Add max_render_time to view JSON 2019-11-17 20:18:42 +01:00
ipc-server.c Remove all wayland-server.h includes 2019-07-27 17:16:56 -04:00
main.c Fix various memory leaks 2019-11-01 12:18:09 -04:00
meson.build Add support for wlr_keyboard_group 2019-11-21 10:42:10 -05:00
security.c Replace _XOPEN_SOURCE with _POSIX_C_SOURCE 2018-11-25 17:19:43 +01:00
server.c Add sway_surface 2019-11-17 20:18:42 +01:00
sway-bar.5.scd swaybar: complete barconfig_update event handling 2019-09-04 16:48:50 -10:00
sway-input.5.scd Add support for wlr_keyboard_group 2019-11-21 10:42:10 -05:00
sway-ipc.7.scd Rename 'node' to 'nodes' in swayipc doc 2019-11-28 23:29:17 +01:00
sway-output.5.scd Add note about backends to output max_render_time 2019-11-17 20:18:42 +01:00
sway.1.scd Update language in sway.desktop & sway(1) 2019-03-10 15:09:52 -04:00
sway.5.scd view: add max_render_time 2019-11-17 20:18:42 +01:00
swaynag.c Rename symbol set_cloexec to sway_set_cloexec, remove duplicates. 2019-11-01 12:41:08 -04:00
xdg_decoration.c Fix xdg-decoration unconfigured if set before first commit 2019-05-03 15:37:32 -06:00