summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/Monitor.cpp')
-rw-r--r--src/helpers/Monitor.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp
index d0e777ed..fa68655f 100644
--- a/src/helpers/Monitor.cpp
+++ b/src/helpers/Monitor.cpp
@@ -146,20 +146,6 @@ void CMonitor::onConnect(bool noRule) {
if (!noRule)
g_pHyprRenderer->applyMonitorRule(this, &monitorRule, true);
- for (const auto& PTOUCHDEV : g_pInputManager->m_vTouches) {
- if (matchesStaticSelector(PTOUCHDEV->boundOutput)) {
- Debug::log(LOG, "Binding touch device {} to output {}", PTOUCHDEV->hlName, szName);
- // wlr_cursor_map_input_to_output(g_pCompositor->m_sWLRCursor, &PTOUCHDEV->wlr()->base, output);
- }
- }
-
- for (const auto& PTABLET : g_pInputManager->m_lTablets) {
- if (matchesStaticSelector(PTABLET.boundOutput)) {
- Debug::log(LOG, "Binding tablet {} to output {}", PTABLET.name, szName);
- // wlr_cursor_map_input_to_output(g_pCompositor->m_sWLRCursor, PTABLET.wlrDevice, output);
- }
- }
-
if (!state.commit())
Debug::log(WARN, "wlr_output_commit_state failed in CMonitor::onCommit");