mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 01:25:59 +01:00
backends: fix needsFrame being stuck
This commit is contained in:
parent
d3bacb4600
commit
c5cf93a3cc
3 changed files with 3 additions and 1 deletions
|
@ -41,6 +41,7 @@ Aquamarine::CHeadlessOutput::~CHeadlessOutput() {
|
|||
bool Aquamarine::CHeadlessOutput::commit() {
|
||||
events.commit.emit();
|
||||
state->onCommit();
|
||||
needsFrame = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -570,8 +570,8 @@ bool Aquamarine::CWaylandOutput::commit() {
|
|||
readyForFrameCallback = true;
|
||||
|
||||
events.commit.emit();
|
||||
|
||||
state->onCommit();
|
||||
needsFrame = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -1203,6 +1203,7 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) {
|
|||
state->onCommit();
|
||||
|
||||
lastCommitNoBuffer = !data.mainFB;
|
||||
needsFrame = false;
|
||||
|
||||
return ok;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue