Join GitHub today
[wayland] Request new frame cb only when previous one was signaled #15193
Continuously requesting new frame callbacks even when the last one has
Continuously requesting new frame callbacks even when the last one has not been signaled generates a lot of unnecessary traffic on the Wayland connection and has the potential to exhaust the object ID space (since every callback is a separate object) when the surface is not visible for a very long time. Also, already for short time spans the compositor might have problems buffering all delete_id() messages being sent at once at the moment the surface becomes visible again.