swaylock/include
Kenny Levinsen cca2436ba5 Improve frame callback and commit handling
The few places that required a surface commit relied on render_frame and
render_frame_background to form it form them after they had set up frame
callback events. This would fail if render_frame ran out of buffers and
exited early, as the caller would still wait indefinitely on the frame
callback.

swaylock would quite consistently run out of buffers when rendering
immediately after a configure event, such as when the keypress causing
render also caused outputs to be enabled from idle.

Restructure the render and commit handling slightly so that the whole
frame callback and commit setup is handled by the render code, which now
has a single render entrypoint. This both avoids stalls from lacking
commits, but also fixes the case the configure path to respect frame
callbacks so we do not run out of buffers in the first place.
2024-09-06 19:46:24 -04:00
..
background-image.h Convert swaylock into standalone project 2019-01-13 21:16:47 -05:00
cairo.h cairo.h: remove redundant prototype 2022-03-20 22:54:39 +01:00
comm.h Check password without blocking 2019-01-17 12:42:13 +01:00
log.h Implement logging and remove wlroots dependency 2019-01-14 23:30:54 -05:00
loop.h Convert swaylock into standalone project 2019-01-13 21:16:47 -05:00
meson.build Convert swaylock into standalone project 2019-01-13 21:16:47 -05:00
password-buffer.h Use mlock for password buffer 2022-06-15 10:49:32 +02:00
pool-buffer.h Stop pooling background surface buffers 2023-03-22 10:56:42 +01:00
seat.h Implement key repeat 2020-06-19 23:02:23 +02:00
swaylock.h Improve frame callback and commit handling 2024-09-06 19:46:24 -04:00
unicode.h Delete whole utf8 character on backspace 2022-03-22 22:11:27 +01:00