mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 00:15:59 +01:00
drm: don't shift state on failed commits
This commit is contained in:
parent
205472bad7
commit
8d1d10397a
1 changed files with 1 additions and 1 deletions
|
@ -1196,7 +1196,7 @@ bool Aquamarine::CDRMOutput::commitState(bool onlyTest) {
|
|||
|
||||
bool ok = connector->commitState(data);
|
||||
|
||||
if (onlyTest)
|
||||
if (onlyTest || !ok)
|
||||
return ok;
|
||||
|
||||
events.commit.emit();
|
||||
|
|
Loading…
Reference in a new issue