From 31a079b347ddede3f672b0b059967f5e6bc74a36 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Wed, 27 Jul 2022 12:32:00 +0200 Subject: added DPMS --- src/managers/KeybindManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/managers/KeybindManager.cpp') diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index dfcf47ef..9910ed6c 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -996,7 +996,7 @@ void CKeybindManager::exitHyprland(std::string argz) { } void CKeybindManager::moveCurrentWorkspaceToMonitor(std::string args) { - SMonitor* PMONITOR = nullptr; + CMonitor* PMONITOR = nullptr; try { if (!isNumber(args) && !isDirection(args)) { @@ -1025,7 +1025,7 @@ void CKeybindManager::moveWorkspaceToMonitor(std::string args) { std::string workspace = args.substr(0, args.find_first_of(' ')); std::string monitor = args.substr(args.find_first_of(' ') + 1); - SMonitor* PMONITOR = nullptr; + CMonitor* PMONITOR = nullptr; try { if (!isNumber(monitor) && !isDirection(monitor)) { -- cgit v1.2.3