handle modals a bit better
This commit is contained in:
parent
b6f3aa5d01
commit
e6a848adc0
4 changed files with 9 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue