input: no keyboard exclusivity during dnd (#15780)

This commit is contained in:
Aurelle
2026-08-09 00:20:16 +02:00
committed by GitHub
parent 5b1c0fda73
commit dcd544e422
+1 -1
View File
@@ -452,7 +452,7 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus, bool mouse, st
}
// forced above all
if (!g_pInputManager->m_exclusiveLSes.empty()) {
if (!g_pInputManager->m_exclusiveLSes.empty() && !PROTO::data->dndActive()) {
if (!foundSurface)
foundSurface = Desktop::viewState()->hitTest().layerPopupSurfaceAt(mouseCoords, &g_pInputManager->m_exclusiveLSes, &surfaceCoords, &pFoundLayerSurface);