From 8370a7fcc4627e6f21395cc8b81298369be5cdaf Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Tue, 18 Jul 2023 15:30:28 +0200 Subject: internal: Protocol C++ Wraps + XDGOutput impl (#2733) move to our own xdgoutput impl instead of wlr's --- src/config/ConfigManager.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/config/ConfigManager.cpp') diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index c61bd15c..4899241b 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1587,9 +1587,6 @@ void CConfigManager::loadConfigLoadVars() { // update layout g_pLayoutManager->switchToLayout(configValues["general:layout"].strValue); - // update xwl scale - g_pXWaylandManager->updateXWaylandScale(); - // manual crash if (configValues["debug:manual_crash"].intValue && !m_bManualCrashInitiated) { m_bManualCrashInitiated = true; @@ -1972,6 +1969,8 @@ void CConfigManager::performMonitorReload() { g_pCompositor->m_bUnsafeState = false; m_bWantsMonitorReload = false; + + EMIT_HOOK_EVENT("monitorLayoutChanged", nullptr); } SConfigValue* CConfigManager::getConfigValuePtr(const std::string& val) { -- cgit v1.2.3