From 1b349f79acd29bf7589472147ec3853b6cad71b7 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 19 Oct 2022 22:12:02 +0100 Subject: [PATCH] don't set custom mode in change --- src/events/Monitors.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/events/Monitors.cpp b/src/events/Monitors.cpp index a28a5b55..f45c3ec4 100644 --- a/src/events/Monitors.cpp +++ b/src/events/Monitors.cpp @@ -37,8 +37,6 @@ void Events::listener_change(wl_listener* listener, void* data) { CONFIGHEAD->state.mode = m->output->current_mode; CONFIGHEAD->state.x = m->vecPosition.x; CONFIGHEAD->state.y = m->vecPosition.y; - - wlr_output_set_custom_mode(m->output, m->vecPixelSize.x, m->vecPixelSize.y, (int)(round(m->refreshRate * 1000))); } wlr_output_manager_v1_set_configuration(g_pCompositor->m_sWLROutputMgr, CONFIG);