mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 18:19:48 +01:00
drm: allow disabling commit, even if pageFlipPending (#72)
This commit is contained in:
parent
f8a687dd29
commit
dd9890d2bc
1 changed files with 1 additions and 1 deletions
|
@ -1465,7 +1465,7 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) {
|
||||||
backend->backend->log(AQ_LOG_DEBUG, std::format("drm: Disabling output {}", name));
|
backend->backend->log(AQ_LOG_DEBUG, std::format("drm: Disabling output {}", name));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((NEEDS_RECONFIG || (COMMITTED & COutputState::eOutputStateProperties::AQ_OUTPUT_STATE_BUFFER)) && connector->isPageFlipPending) {
|
if (STATE.enabled && (NEEDS_RECONFIG || (COMMITTED & COutputState::eOutputStateProperties::AQ_OUTPUT_STATE_BUFFER)) && connector->isPageFlipPending) {
|
||||||
backend->backend->log(AQ_LOG_ERROR, "drm: Cannot commit when a page-flip is awaiting");
|
backend->backend->log(AQ_LOG_ERROR, "drm: Cannot commit when a page-flip is awaiting");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue