mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 17:25:58 +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,7 +98,8 @@ std::string dispatchKeyword(std::string in) {
|
|||
|
||||
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 == "")
|
||||
return "ok";
|
||||
|
|
Loading…
Reference in a new issue