summaryrefslogtreecommitdiff
path: root/src/events/Events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/Events.cpp')
-rw-r--r--src/events/Events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Events.cpp b/src/events/Events.cpp
index 83a2fa20..9acea081 100644
--- a/src/events/Events.cpp
+++ b/src/events/Events.cpp
@@ -347,7 +347,7 @@ void Events::listener_newInput(wl_listener* listener, void* data) {
break;
case WLR_INPUT_DEVICE_POINTER:
Debug::log(LOG, "Attached a mouse with name %s", DEVICE->name);
- wlr_cursor_attach_input_device(g_pCompositor->m_sWLRCursor, DEVICE);
+ g_pInputManager->newMouse(DEVICE);
break;
default:
break;