mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-06 15:11:57 -07:00
only reload monitors when needed with hyprctl
This commit is contained in:
@@ -98,6 +98,7 @@ std::string dispatchKeyword(std::string in) {
|
|||||||
|
|
||||||
std::string retval = g_pConfigManager->parseKeyword(COMMAND, VALUE, true);
|
std::string retval = g_pConfigManager->parseKeyword(COMMAND, VALUE, true);
|
||||||
|
|
||||||
|
if (COMMAND == "monitor")
|
||||||
g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords
|
g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords
|
||||||
|
|
||||||
if (retval == "")
|
if (retval == "")
|
||||||
|
Reference in New Issue
Block a user