mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-11-28 22:50:20 +03:00
output: update state even if no owner exists (#8044)
This commit is contained in:
parent
ad46257cce
commit
8405aa111d
@ -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 New Issue
Block a user