mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 22:45:58 +01:00
monitors: avoid crash on wayland output removal
This commit is contained in:
parent
01e3da4d51
commit
272d904870
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue