diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-22 20:53:11 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-22 20:53:11 +0100 |
| commit | e6a848adc0648bed29bb232ca5ee421ac6f575f9 (patch) | |
| tree | ac4fb19b4aa248019c1ed8bdb60919333a1b359e /src/managers/InputManager.cpp | |
| parent | b6f3aa5d01d5f02f92167674bc29f4379fd5afbb (diff) | |
handle modals a bit better
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 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; |
