summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2022-07-13 18:18:23 +0200
committerGitHub <noreply@github.com>2022-07-13 18:18:23 +0200
commit6708f3b1334e8b6a966f424fe04713a4e74d5fdb (patch)
tree3635c6d81e43ce033991fdd4b0f06083f07e86e4 /src/debug/HyprCtl.cpp
parentef7ee2fd0f64a1a0a0088b90d3cbaeb6b3436c32 (diff)
Fixed TTY switching (#364)
Diffstat (limited to 'src/debug/HyprCtl.cpp')
-rw-r--r--src/debug/HyprCtl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index cdc04ff4..6b94ce1d 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -593,7 +593,7 @@ std::string getRequestFromThread(std::string rq) {
// this might be a race condition
// tested with 2 instances of `watch -n 0.1 hyprctl splash` and seems to not crash so I'll take that as a yes
if (!*PNOVFR)
- wlr_output_schedule_frame(g_pCompositor->m_vMonitors.front()->output);
+ g_pCompositor->scheduleFrameForMonitor(g_pCompositor->m_vMonitors.front().get());
while (HyprCtl::request != "" || HyprCtl::requestMade || HyprCtl::requestReady) {
std::this_thread::sleep_for(std::chrono::milliseconds(5));