From e57ec3a985a20a66354516d740ac5a48f8a59b40 Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 13 Dec 2023 18:18:50 -0700 Subject: Move the pinnable layout to outside the avoidStruts layout. This fixes the small bug where pinned windows would move down slightly on release when Xmobar is present --- src/Rahm/Desktop/Layout.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Rahm/Desktop/Layout.hs b/src/Rahm/Desktop/Layout.hs index 4dfba25..17a7b1e 100644 --- a/src/Rahm/Desktop/Layout.hs +++ b/src/Rahm/Desktop/Layout.hs @@ -42,13 +42,14 @@ import XMonad.Layout.Spiral (spiral) myLayout = fullscreenFull $ - hole $ + hole $ + pinnable $ avoidStruts myLayoutList mySpacing = spacingRaw True (Border 5 5 5 5) True (Border 5 5 5 5) True mods = - pinnable . poppable . mySpacing . flippable . rotateable + poppable . mySpacing . flippable . rotateable myLayoutList = layoutList $ -- cgit