From a69b41e652b8a322b7be52dc07c223d2738ac9a0 Mon Sep 17 00:00:00 2001 From: Mats Rauhala Date: Mon, 3 Feb 2020 09:48:52 +0200 Subject: [PATCH] Disable focus follows mouse with the reasoning --- src/XMonad/Config/MasseR.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/XMonad/Config/MasseR.hs b/src/XMonad/Config/MasseR.hs index ce9026f..e9b7959 100644 --- a/src/XMonad/Config/MasseR.hs +++ b/src/XMonad/Config/MasseR.hs @@ -238,7 +238,11 @@ masser extraConfig = xmonad =<< statusBar (bar extraConfig) zenburnPP toggleStru , normalBorderColor = "#262626" , focusedBorderColor = "#7F9F7F" , manageHook = myManageHook - , focusFollowsMouse = True + -- The focus follows mouse is a bad idea for me because + -- it misbehaves with accordion. If I accidentally hover + -- my mouse at the lower edge of the accordion, it will + -- just cycle through to the last accordion + , focusFollowsMouse = False , logHook = updatePointer (0.25, 0.25) (0.25, 0.25) } myLayout = toggleLayouts zoom workspaceLayouts