diff options
| author | trianta <56975502+Trimutex@users.noreply.github.com> | 2024-10-09 04:24:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-09 10:24:05 +0100 |
| commit | 223dcc8bac7fee90aa6aa7596d9379e56b526e62 (patch) | |
| tree | 8c5e4372c935228a5d987baea5e7c5640f2e88c4 /src/protocols/core/Output.cpp | |
| parent | 6ce07ee86453e8ef01faa7b4e1eb8f09475f32b7 (diff) | |
output: update state even if no owner exists (#8044)
Diffstat (limited to 'src/protocols/core/Output.cpp')
| -rw-r--r-- | src/protocols/core/Output.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/core/Output.cpp b/src/protocols/core/Output.cpp index 4047774a..3e68937f 100644 --- a/src/protocols/core/Output.cpp +++ b/src/protocols/core/Output.cpp @@ -47,7 +47,7 @@ SP<CWlOutput> CWLOutputResource::getResource() { } void CWLOutputResource::updateState() { - if (!monitor || !owner || owner->defunct) + if (!monitor || (owner && owner->defunct)) return; if (resource->version() >= 2) |
