From fe369dd9fb4d0d5517a1f19c0ff780d9a65b0c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Zanoni=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80?= =?UTF-8?q?=E2=A0=80=20=E2=A0=80=E2=95=B1=7C=E3=80=81=20=E2=A0=80=E2=A0=80?= =?UTF-8?q?=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80?= =?UTF-8?q?=E2=A0=80=E2=A0=80=E2=A0=80=20=28=CB=9A=CB=8E=20=E3=80=827=20?= =?UTF-8?q?=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80?= =?UTF-8?q?=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=20=7C=E3=80=81?= =?UTF-8?q?=CB=9C=E3=80=B5=20=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80?= =?UTF-8?q?=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80=E2=A0=80?= =?UTF-8?q?=E3=81=98=E3=81=97=CB=8D=2C=29=E3=83=8E?= <91813099+Castrozan@users.noreply.github.com> Date: Sun, 12 Apr 2026 13:30:29 -0300 Subject: input: fix focus_on_close=2 (MRU) routing to cursor path instead of getNextCandidate (#13969) --- src/desktop/view/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/desktop/view/Window.cpp') 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 { -- cgit v1.2.3