diff options
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Layout/Spacing.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/XMonad/Layout/Spacing.hs b/XMonad/Layout/Spacing.hs index 1904638..74f7f9c 100644 --- a/XMonad/Layout/Spacing.hs +++ b/XMonad/Layout/Spacing.hs @@ -23,6 +23,7 @@ module XMonad.Layout.Spacing ( import Graphics.X11 (Rectangle(..)) import Control.Arrow (second) +import XMonad.Util.Font (fi) import XMonad.Layout.LayoutModifier @@ -51,4 +52,3 @@ instance LayoutModifier Spacing a where shrinkRect :: Int -> Rectangle -> Rectangle shrinkRect p (Rectangle x y w h) = Rectangle (x+fi p) (y+fi p) (w-2*fi p) (h-2*fi p) - where fi n = fromIntegral n -- avoid the DMR |