mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-25 00:31:39 +03:00
only reload monitors when needed with hyprctl
This commit is contained in:
parent
c16ebec3b2
commit
5f3ee176a1
@ -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 New Issue
Block a user