diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-18 22:53:27 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-18 22:53:27 +0100 |
| commit | 5811d968bffee6fbc68c198fb92e6700547a72b0 (patch) | |
| tree | 3a262be3065465c3090f184527182ad2f8717fc5 /src/events/Events.cpp | |
| parent | a1a8f3b6d579d5df3a46dff92a221b7ad48f3e84 (diff) | |
focus and move mouse to inputmanager
Diffstat (limited to 'src/events/Events.cpp')
| -rw-r--r-- | src/events/Events.cpp | 2 |
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; |
