monitors: avoid crash on wayland output removal

This commit is contained in:
Vaxry 2024-08-19 18:36:06 +02:00
parent 01e3da4d51
commit 272d904870

View file

@ -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);