diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-20 18:00:29 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-20 18:00:29 +0100 |
| commit | c2545b3ae61201706f2fb9aff1ede163c1ce3046 (patch) | |
| tree | 08b93eee7d0761195157a6fa455dfb26de16aedf /src/events/Windows.cpp | |
| parent | dada872981211cfeccf5e445c7c1446c9b466a21 (diff) | |
fix refocus on last window
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 6586163f..c335769c 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -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."); |
