From 1744be7bdd942e0cbd5ad1b1d4426b0b9023208a Mon Sep 17 00:00:00 2001 From: vaxerski Date: Sun, 7 Aug 2022 19:28:31 +0200 Subject: [PATCH] log more in output cfg --- src/render/Renderer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 863ea9e8..cc5ed219 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -882,6 +882,8 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR } else { wlr_output_set_custom_mode(pMonitor->output, (int)pMonitorRule->resolution.x, (int)pMonitorRule->resolution.y, (int)pMonitorRule->refreshRate * 1000); pMonitor->vecSize = pMonitorRule->resolution; + + Debug::log(LOG, "Setting custom mode for %s", pMonitor->output->name); } } else { const auto PREFERREDMODE = wlr_output_preferred_mode(pMonitor->output); @@ -919,6 +921,8 @@ bool CHyprRenderer::applyMonitorRule(CMonitor* pMonitor, SMonitorRule* pMonitorR pMonitor->vecSize = Vector2D(PREFERREDMODE->width, PREFERREDMODE->height); pMonitor->refreshRate = PREFERREDMODE->refresh / 1000.f; + + Debug::log(LOG, "Setting preferred mode for %s", pMonitor->output->name); } }