summaryrefslogtreecommitdiff
path: root/src/managers/InputManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-22 20:04:39 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-22 20:04:39 +0100
commit90bb8e64412cf6dcf3095e059e6d7a9e92dc5df0 (patch)
tree451d97a236ab94cc0503a3eb3b0fe177c8df2ff8 /src/managers/InputManager.cpp
parentaa64af95fedaadc97dce02d4a37d6bad05961c86 (diff)
minor changes
Diffstat (limited to 'src/managers/InputManager.cpp')
-rw-r--r--src/managers/InputManager.cpp2
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);
}