diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-03-25 16:20:30 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-03-25 16:20:30 +0000 |
| commit | ae17e900e720430c7848faf1b6e21b5f352c26ca (patch) | |
| tree | 32b2a0e96a78f3c487f9d2bad96492bc6fb49719 /src/managers/input/InputManager.cpp | |
| parent | ca17a89d86b73f37019c4cc0c7087303adbcc1f9 (diff) | |
layer-shell: render popups above everything
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 94245587..690463fa 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -209,6 +209,9 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) { surfacePos = PMONITOR->vecPosition; } + if (!foundSurface) + foundSurface = g_pCompositor->vectorToLayerPopupSurface(mouseCoords, PMONITOR, &surfaceCoords, &pFoundLayerSurface); + // overlays are above fullscreen if (!foundSurface) foundSurface = g_pCompositor->vectorToLayerSurface(mouseCoords, &PMONITOR->m_aLayerSurfaceLayers[ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY], &surfaceCoords, &pFoundLayerSurface); |
