From e6a848adc0648bed29bb232ca5ee421ac6f575f9 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 22 Mar 2022 20:53:11 +0100 Subject: handle modals a bit better --- 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 f838408a..baf88402 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -47,7 +47,7 @@ void CInputManager::mouseMoveUnified(uint32_t time) { // then windows const auto PWINDOWIDEAL = g_pCompositor->vectorToWindowIdeal(mouseCoords); - if (!foundSurface && PWINDOWIDEAL && !PWINDOWIDEAL->m_bIsModal) { + if (!foundSurface && PWINDOWIDEAL) { foundSurface = g_pXWaylandManager->getWindowSurface(PWINDOWIDEAL); if (foundSurface) surfacePos = PWINDOWIDEAL->m_vRealPosition; -- cgit v1.2.3