mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 03:46:00 +01:00
drm: fix custom mode check
This commit is contained in:
parent
131ed05f99
commit
1a7ca38fa3
1 changed files with 1 additions and 1 deletions
|
@ -1379,7 +1379,7 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) {
|
|||
const uint32_t COMMITTED = STATE.committed;
|
||||
|
||||
if ((COMMITTED & COutputState::eOutputStateProperties::AQ_OUTPUT_STATE_ENABLED) && STATE.enabled) {
|
||||
if (!STATE.mode && STATE.customMode) {
|
||||
if (!STATE.mode && !STATE.customMode) {
|
||||
backend->backend->log(AQ_LOG_ERROR, "drm: No mode on enable commit");
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue