diff options
| author | Lucas Zanoni⠀⠀⠀⠀⠀ ⠀╱|、 ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ (˚ˎ 。7 ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ |、˜〵 ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀じしˍ,)ノ <91813099+Castrozan@users.noreply.github.com> | 2026-04-12 13:30:29 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-12 17:30:29 +0100 |
| commit | fe369dd9fb4d0d5517a1f19c0ff780d9a65b0c57 (patch) | |
| tree | f019ed03704b36b706ea1951343805297ac0c70e /src/desktop | |
| parent | 3830200cff7f0e7af8cb215b1e768a6da217f3ce (diff) | |
input: fix focus_on_close=2 (MRU) routing to cursor path instead of getNextCandidate (#13969)
Diffstat (limited to 'src/desktop')
| -rw-r--r-- | src/desktop/view/Window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/view/Window.cpp b/src/desktop/view/Window.cpp index 35a706a1..6da62b34 100644 --- a/src/desktop/view/Window.cpp +++ b/src/desktop/view/Window.cpp @@ -2256,7 +2256,7 @@ void CWindow::unmapWindow() { PHLWINDOW candidate = nextInGroup; if (!candidate) { - if (*FOCUSONCLOSE) + if (*FOCUSONCLOSE == 1) candidate = (g_pCompositor->vectorToWindowUnified(g_pInputManager->getMouseCoordsInternal(), Desktop::View::RESERVED_EXTENTS | Desktop::View::INPUT_EXTENTS | Desktop::View::ALLOW_FLOATING)); else { |
