From 2cf0a10f5bdd828257bd06b54aaf77392a80d5d6 Mon Sep 17 00:00:00 2001 From: brandon s allbery kf8nh Date: Wed, 22 Dec 2021 16:38:11 -0500 Subject: [PATCH] warn about use of avoidStruts with spacing modifiers --- XMonad/Layout/Spacing.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/XMonad/Layout/Spacing.hs b/XMonad/Layout/Spacing.hs index b93d656d..306c3f03 100644 --- a/XMonad/Layout/Spacing.hs +++ b/XMonad/Layout/Spacing.hs @@ -96,6 +96,10 @@ import XMonad.Actions.MessageFeedback -- every direction. -- -- - @True@: Enable the 'windowBorder'. +-- +-- __Warning__: If you also use the 'avoidStruts' layout modifier, it +-- must come /before/ any of these modifiers. See the documentation of +-- 'avoidStruts' for details. -- | Represent the borders of a rectangle. data Border = Border