move refocus on only unmap
This commit is contained in:
parent
179e5188a4
commit
c779a7c03b
2 changed files with 4 additions and 3 deletions
|
|
@ -183,9 +183,6 @@ void CInputManager::mouseMoveUnified(uint32_t time, bool refocus) {
|
|||
} else
|
||||
pFoundWindow = g_pCompositor->vectorToWindowIdeal(mouseCoords);
|
||||
|
||||
if (!pFoundWindow && refocus)
|
||||
pFoundWindow = g_pCompositor->getFirstWindowOnWorkspace(PWORKSPACE->m_iID);
|
||||
|
||||
if (pFoundWindow) {
|
||||
if (!pFoundWindow->m_bIsX11) {
|
||||
foundSurface = g_pCompositor->vectorWindowToSurface(mouseCoords, pFoundWindow, surfaceCoords);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue