backends: fix needsFrame being stuck
This commit is contained in:
parent
d3bacb4600
commit
c5cf93a3cc
|
|
@ -41,6 +41,7 @@ Aquamarine::CHeadlessOutput::~CHeadlessOutput() {
|
||||||
bool Aquamarine::CHeadlessOutput::commit() {
|
bool Aquamarine::CHeadlessOutput::commit() {
|
||||||
events.commit.emit();
|
events.commit.emit();
|
||||||
state->onCommit();
|
state->onCommit();
|
||||||
|
needsFrame = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -570,8 +570,8 @@ bool Aquamarine::CWaylandOutput::commit() {
|
||||||
readyForFrameCallback = true;
|
readyForFrameCallback = true;
|
||||||
|
|
||||||
events.commit.emit();
|
events.commit.emit();
|
||||||
|
|
||||||
state->onCommit();
|
state->onCommit();
|
||||||
|
needsFrame = false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1203,6 +1203,7 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) {
|
||||||
state->onCommit();
|
state->onCommit();
|
||||||
|
|
||||||
lastCommitNoBuffer = !data.mainFB;
|
lastCommitNoBuffer = !data.mainFB;
|
||||||
|
needsFrame = false;
|
||||||
|
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue