input: Fix clicking through groupbar tabs (#9606)
This commit is contained in:
parent
f4315db50f
commit
e59680481d
1 changed files with 2 additions and 1 deletions
|
|
@ -293,9 +293,10 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus, bool mouse) {
|
||||||
const auto BOX = HLSurface->getSurfaceBoxGlobal();
|
const auto BOX = HLSurface->getSurfaceBoxGlobal();
|
||||||
|
|
||||||
if (BOX) {
|
if (BOX) {
|
||||||
|
const auto PWINDOW = HLSurface->getWindow();
|
||||||
surfacePos = BOX->pos();
|
surfacePos = BOX->pos();
|
||||||
pFoundLayerSurface = HLSurface->getLayer();
|
pFoundLayerSurface = HLSurface->getLayer();
|
||||||
pFoundWindow = HLSurface->getWindow();
|
pFoundWindow = !PWINDOW || PWINDOW->isHidden() ? g_pCompositor->m_pLastWindow.lock() : PWINDOW;
|
||||||
} else // reset foundSurface, find one normally
|
} else // reset foundSurface, find one normally
|
||||||
foundSurface = nullptr;
|
foundSurface = nullptr;
|
||||||
} else // reset foundSurface, find one normally
|
} else // reset foundSurface, find one normally
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue