From 0c379feb4e75a20e4fedc0a4ced3552cfd2fdcbb Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Fri, 9 Oct 2026 12:00:56 +0200 Subject: [PATCH] sloppyfocus: revert to original setFocus() activation The port regressed because I replaced the original's pane->setFocus() with MainWindow::activateView() on a theory that setFocus() didn't move Kate's focus. The original logic was correct and working; activateView() broke it (and can't target the pointed pane for a split of the same document). Restore the exact original activation. The port is now logic-identical to the standalone plugin; confirmed working in a live split. --- src/sloppyfocus/sloppyfocusplugin.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sloppyfocus/sloppyfocusplugin.h b/src/sloppyfocus/sloppyfocusplugin.h index 5db6945..7da7502 100644 --- a/src/sloppyfocus/sloppyfocusplugin.h +++ b/src/sloppyfocus/sloppyfocusplugin.h @@ -14,6 +14,7 @@ #define DEFT_SLOPPYFOCUSPLUGIN_H #include +#include #include #include #include