mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-28 02:13:49 -07:00
output: update state even if no owner exists (#8044)
This commit is contained in:
@@ -47,7 +47,7 @@ SP<CWlOutput> CWLOutputResource::getResource() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CWLOutputResource::updateState() {
|
void CWLOutputResource::updateState() {
|
||||||
if (!monitor || !owner || owner->defunct)
|
if (!monitor || (owner && owner->defunct))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (resource->version() >= 2)
|
if (resource->version() >= 2)
|
||||||
|
Reference in New Issue
Block a user