mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 07:15:59 +01:00
wayland: band-aid for frame scheduling
thanks @phonetic112
This commit is contained in:
parent
c4a5fafe76
commit
46ce868cbb
1 changed files with 4 additions and 0 deletions
|
@ -620,6 +620,10 @@ void Aquamarine::CWaylandOutput::onFrameDone() {
|
||||||
waylandState.frameCallback.reset();
|
waylandState.frameCallback.reset();
|
||||||
readyForFrameCallback = false;
|
readyForFrameCallback = false;
|
||||||
|
|
||||||
|
// FIXME: this is wrong, but otherwise we get bugs.
|
||||||
|
// thanks @phonetic112
|
||||||
|
scheduleFrame(AQ_SCHEDULE_NEEDS_FRAME);
|
||||||
|
|
||||||
if (frameScheduledWhileWaiting)
|
if (frameScheduledWhileWaiting)
|
||||||
sendFrameAndSetCallback();
|
sendFrameAndSetCallback();
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue