mirror of
https://github.com/swaywm/sway.git
synced 2024-11-16 05:03:17 +00:00
d1eab10266
Repaint scheduling delays output render and frame done events from output frame events, and block idle frame events from being scheduled in between output frame done and output render in this period of time. If a surface is committed after its frame done event, but before output render, idle frame requests will be blocked, and the surface relies on the upcoming render to schedule a frame. If when the repaint timer expires, output render is deemed unnecessary, no frame will be scheduled. This can lead to surfaces never having their frame callbacks fire. To fix this, we store that a surface has requested a frame in surface_needs_frame. When the repaint expires, if no render is deemed necessary, we check this flag and schedule an idle frame. Fixes #4768 |
||
---|---|---|
.. | ||
sway | ||
swaybar | ||
swaynag | ||
background-image.h | ||
cairo.h | ||
ipc-client.h | ||
ipc.h | ||
list.h | ||
log.h | ||
loop.h | ||
meson.build | ||
pango.h | ||
pool-buffer.h | ||
stringop.h | ||
util.h |