diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-22 20:04:39 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-22 20:04:39 +0100 |
| commit | 90bb8e64412cf6dcf3095e059e6d7a9e92dc5df0 (patch) | |
| tree | 451d97a236ab94cc0503a3eb3b0fe177c8df2ff8 /src/managers/InputManager.cpp | |
| parent | aa64af95fedaadc97dce02d4a37d6bad05961c86 (diff) | |
minor changes
Diffstat (limited to 'src/managers/InputManager.cpp')
| -rw-r--r-- | src/managers/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp index c6bafd4e..f838408a 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -106,7 +106,7 @@ void CInputManager::onMouseButton(wlr_event_pointer_button* e) { } // notify app if we didnt handle it - const auto PWINDOW = g_pCompositor->vectorToWindowIdeal(getMouseCoordsInternal()); + const auto PWINDOW = g_pCompositor->vectorToWindow(getMouseCoordsInternal()); if (g_pCompositor->windowValidMapped(PWINDOW) && g_pCompositor->doesSeatAcceptInput(g_pXWaylandManager->getWindowSurface(PWINDOW))) wlr_seat_pointer_notify_button(g_pCompositor->m_sSeat.seat, e->time_msec, e->button, e->state); } |
