summaryrefslogtreecommitdiff
path: root/src/protocols/CTMControl.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-10-26 02:06:13 +0100
committerVaxry <vaxry@vaxry.net>2024-10-26 02:06:13 +0100
commitd5689bb53935ff1adbbfc9fdf5b1f542ce39efb2 (patch)
tree9df10d93160b5f6dc8c087d56b6face18809b56a /src/protocols/CTMControl.cpp
parente5384774a8258e44cc7f7b690ce4f6ad1f92b562 (diff)
internal: cleanup CMonitor usage and fix a few ref hogs
ref #8221
Diffstat (limited to 'src/protocols/CTMControl.cpp')
-rw-r--r--src/protocols/CTMControl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/CTMControl.cpp b/src/protocols/CTMControl.cpp
index f2a54c6f..cddad830 100644
--- a/src/protocols/CTMControl.cpp
+++ b/src/protocols/CTMControl.cpp
@@ -81,6 +81,6 @@ void CHyprlandCTMControlProtocol::destroyResource(CHyprlandCTMControlResource* r
std::erase_if(m_vManagers, [&](const auto& other) { return other.get() == res; });
}
-void CHyprlandCTMControlProtocol::setCTM(SP<CMonitor> monitor, const Mat3x3& ctm) {
+void CHyprlandCTMControlProtocol::setCTM(PHLMONITOR monitor, const Mat3x3& ctm) {
monitor->setCTM(ctm);
}