mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-19 02:29:49 +01:00
output: update state even if no owner exists (#8044)
This commit is contained in:
parent
6ce07ee864
commit
223dcc8bac
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue