From 90bb8e64412cf6dcf3095e059e6d7a9e92dc5df0 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 22 Mar 2022 20:04:39 +0100 Subject: minor changes --- src/managers/InputManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/managers/InputManager.cpp') 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); } -- cgit v1.2.3