fix refocus on last window

This commit is contained in:
vaxerski 2022-10-20 18:00:29 +01:00
parent dada872981
commit c2545b3ae6

View file

@ -557,6 +557,8 @@ void Events::listener_unmapWindow(void* owner, void* data) {
g_pInputManager->refocus();
else
g_pCompositor->focusWindow(PWINDOWCANDIDATE);
} else {
g_pInputManager->refocus();
}
} else {
Debug::log(LOG, "Unmapped was not focused, ignoring a refocus.");