From 304b93a4f609054bb453f89eb38894809a888b38 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 21 Apr 2022 21:48:37 +0200 Subject: Minor tweaks --- src/debug/HyprCtl.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/debug') diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp index 1325f557..2c45c663 100644 --- a/src/debug/HyprCtl.cpp +++ b/src/debug/HyprCtl.cpp @@ -85,6 +85,8 @@ std::string dispatchRequest(std::string in) { DISPATCHER->second(DISPATCHARG); + Debug::log(LOG, "Hyprctl: dispatcher %s : %s", DISPATCHSTR.c_str(), DISPATCHARG.c_str()); + return "ok"; } @@ -101,6 +103,8 @@ std::string dispatchKeyword(std::string in) { if (COMMAND == "monitor") g_pConfigManager->m_bWantsMonitorReload = true; // for monitor keywords + Debug::log(LOG, "Hyprctl: keyword %s : %s", COMMAND.c_str(), VALUE.c_str()); + if (retval == "") return "ok"; -- cgit v1.2.3