summaryrefslogtreecommitdiff
path: root/src/managers
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-27 12:32:00 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-07-27 12:32:00 +0200
commit31a079b347ddede3f672b0b059967f5e6bc74a36 (patch)
treec957d8af9866189dbaaa71f4481e13e860ff640c /src/managers
parent50b991674b6d6607477232a774d5f730789d18a8 (diff)
added DPMS
Diffstat (limited to 'src/managers')
-rw-r--r--src/managers/AnimationManager.cpp2
-rw-r--r--src/managers/KeybindManager.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/managers/AnimationManager.cpp b/src/managers/AnimationManager.cpp
index 5d3027c9..8257d8eb 100644
--- a/src/managers/AnimationManager.cpp
+++ b/src/managers/AnimationManager.cpp
@@ -59,7 +59,7 @@ void CAnimationManager::tick() {
const auto PWINDOW = (CWindow*)av->m_pWindow;
const auto PWORKSPACE = (CWorkspace*)av->m_pWorkspace;
const auto PLAYER = (SLayerSurface*)av->m_pLayer;
- SMonitor* PMONITOR = nullptr;
+ CMonitor* PMONITOR = nullptr;
wlr_box WLRBOXPREV = {0,0,0,0};
if (PWINDOW) {
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)) {