mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 10:29:48 +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();
|
||||
readyForFrameCallback = false;
|
||||
|
||||
// FIXME: this is wrong, but otherwise we get bugs.
|
||||
// thanks @phonetic112
|
||||
scheduleFrame(AQ_SCHEDULE_NEEDS_FRAME);
|
||||
|
||||
if (frameScheduledWhileWaiting)
|
||||
sendFrameAndSetCallback();
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue