internal: Fix wlr output management (#3234)

This commit is contained in:
Philip Damianik
2023-09-10 14:14:27 +02:00
committed by GitHub
parent d490f198a4
commit 6c855dd6e4
4 changed files with 23 additions and 18 deletions

View File

@@ -86,8 +86,6 @@ void CMonitor::onConnect(bool noRule) {
if (!wlr_output_commit(output))
Debug::log(ERR, "Couldn't commit disabled state on output {}", output->name);
Events::listener_change(nullptr, nullptr);
m_bEnabled = false;
hyprListener_monitorFrame.removeCallback();