only reload monitors when needed with hyprctl

This commit is contained in:
vaxerski 2022-04-21 21:36:45 +02:00
parent c16ebec3b2
commit 5f3ee176a1

View File

@ -98,7 +98,8 @@ std::string dispatchKeyword(std::string in) {
std::string retval = g_pConfigManager->parseKeyword(COMMAND, VALUE, true); std::string retval = g_pConfigManager->parseKeyword(COMMAND, VALUE, true);
g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords if (COMMAND == "monitor")
g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords
if (retval == "") if (retval == "")
return "ok"; return "ok";