mirror of
https://github.com/hyprwm/Hyprland
synced 2025-02-17 03:02:15 +01:00
fix refocus on last window
This commit is contained in:
parent
dada872981
commit
c2545b3ae6
1 changed files with 2 additions and 0 deletions
|
@ -557,6 +557,8 @@ void Events::listener_unmapWindow(void* owner, void* data) {
|
||||||
g_pInputManager->refocus();
|
g_pInputManager->refocus();
|
||||||
else
|
else
|
||||||
g_pCompositor->focusWindow(PWINDOWCANDIDATE);
|
g_pCompositor->focusWindow(PWINDOWCANDIDATE);
|
||||||
|
} else {
|
||||||
|
g_pInputManager->refocus();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Debug::log(LOG, "Unmapped was not focused, ignoring a refocus.");
|
Debug::log(LOG, "Unmapped was not focused, ignoring a refocus.");
|
||||||
|
|
Loading…
Add table
Reference in a new issue