mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 20:21:54 -07:00
monitors: avoid crash on wayland output removal
This commit is contained in:
@@ -98,7 +98,7 @@ void Events::listener_monitorDestroy(void* owner, void* data) {
|
||||
if (!pMonitor)
|
||||
return;
|
||||
|
||||
Debug::log(LOG, "Destroy called for monitor {}", pMonitor->output->name);
|
||||
Debug::log(LOG, "Destroy called for monitor {}", pMonitor->szName);
|
||||
|
||||
pMonitor->onDisconnect(true);
|
||||
|
||||
|
Reference in New Issue
Block a user