aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2024-08-19 18:36:06 +0200
committervaxerski <[email protected]>2024-08-19 18:36:14 +0200
commit272d9048706379201b761c3159c24a20cd62fad1 (patch)
tree4f54e5fa0e418a8f10362eef272616cf2a597438
parent01e3da4d51927427860368c88a523f47c479b710 (diff)
downloadHyprland-272d9048706379201b761c3159c24a20cd62fad1.tar.gz
Hyprland-272d9048706379201b761c3159c24a20cd62fad1.zip
monitors: avoid crash on wayland output removal
-rw-r--r--src/events/Monitors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Monitors.cpp b/src/events/Monitors.cpp
index b2778062..60fb5bef 100644
--- a/src/events/Monitors.cpp
+++ b/src/events/Monitors.cpp
@@ -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);