mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-17 13:03:48 -07:00
@@ -49,7 +49,7 @@ SP<CWlOutput> CWLOutputResource::getResource() {
|
||||
}
|
||||
|
||||
void CWLOutputResource::updateState() {
|
||||
if (!monitor)
|
||||
if (!monitor || (owner && owner->defunct))
|
||||
return;
|
||||
|
||||
if (resource->version() >= 2)
|
||||
@@ -83,7 +83,8 @@ void CWLOutputProtocol::bindManager(wl_client* client, void* data, uint32_t ver,
|
||||
return;
|
||||
}
|
||||
|
||||
RESOURCE->self = RESOURCE;
|
||||
RESOURCE->self = RESOURCE;
|
||||
RESOURCE->owner = self;
|
||||
}
|
||||
|
||||
void CWLOutputProtocol::destroyResource(CWLOutputResource* resource) {
|
||||
|
Reference in New Issue
Block a user