From 13fcdd79efe439a81d807572cc4b4737abbad918 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 2 Jul 2024 18:54:11 +0200 Subject: [PATCH] fractional: reload monitor on new fs scale notifs fixes #181 --- src/events/Events.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/events/Events.cpp b/src/events/Events.cpp index fb7874c..2be8249 100644 --- a/src/events/Events.cpp +++ b/src/events/Events.cpp @@ -158,6 +158,7 @@ void Events::handlePreferredScale(void* data, wp_fractional_scale_v1* fractional if (pLS->fScale != SCALE) { pLS->fScale = SCALE; std::lock_guard lg(g_pHyprpaper->m_mtTickMutex); + pLS->m_pMonitor->wantsReload = true; g_pHyprpaper->tick(true); } }