diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-03 17:12:38 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-03 17:12:38 +0200 |
| commit | 36e563c79c9acf26e49187f932c8617c08309b0e (patch) | |
| tree | 572a66caca6a263e4cebdb80a8c7544c6bf71380 /src/debug | |
| parent | 69365c7609fbbafe52387fd81f79c945b4649fa3 (diff) | |
reload monitors instantly on tickHyprCtl
Diffstat (limited to 'src/debug')
| -rw-r--r-- | src/debug/HyprCtl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index b30c0392..6422c9d8 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -589,6 +589,10 @@ void HyprCtl::tickHyprCtl() { requestMade = false; requestReady = true; + + if (g_pConfigManager->m_bWantsMonitorReload) { + g_pConfigManager->performMonitorReload(); // will unset + } } std::string getRequestFromThread(std::string rq) { |
