wayland: band-aid for frame scheduling

thanks @phonetic112
This commit is contained in:
Vaxry 2024-07-11 20:54:23 +02:00
parent c4a5fafe76
commit 46ce868cbb

View file

@ -620,6 +620,10 @@ void Aquamarine::CWaylandOutput::onFrameDone() {
waylandState.frameCallback.reset();
readyForFrameCallback = false;
// FIXME: this is wrong, but otherwise we get bugs.
// thanks @phonetic112
scheduleFrame(AQ_SCHEDULE_NEEDS_FRAME);
if (frameScheduledWhileWaiting)
sendFrameAndSetCallback();
else