mirror of
https://github.com/hyprwm/Hyprland
synced 2025-01-09 02:09:49 +01:00
only reload monitors when needed with hyprctl
This commit is contained in:
parent
c16ebec3b2
commit
5f3ee176a1
1 changed files with 2 additions and 1 deletions
|
@ -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 == "")
|
||||||
|
|
Loading…
Reference in a new issue