diff options
| author | vaxerski <vaxry@vaxry.net> | 2024-08-19 18:36:06 +0200 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2024-08-19 18:36:14 +0200 |
| commit | 272d9048706379201b761c3159c24a20cd62fad1 (patch) | |
| tree | 4f54e5fa0e418a8f10362eef272616cf2a597438 /src/events/Monitors.cpp | |
| parent | 01e3da4d51927427860368c88a523f47c479b710 (diff) | |
monitors: avoid crash on wayland output removal
Diffstat (limited to 'src/events/Monitors.cpp')
| -rw-r--r-- | src/events/Monitors.cpp | 2 |
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); |
