aboutsummaryrefslogtreecommitdiffstats
path: root/LayoutHints.hs
diff options
context:
space:
mode:
Diffstat (limited to 'LayoutHints.hs')
-rw-r--r--LayoutHints.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LayoutHints.hs b/LayoutHints.hs
index 61aa6d8..ab23ebe 100644
--- a/LayoutHints.hs
+++ b/LayoutHints.hs
@@ -31,7 +31,7 @@ import XMonad hiding ( trace )
adjBorders :: Dimension -> D -> D
adjBorders mult (w,h) = (w+2*mult*borderWidth, h+2*mult*borderWidth)
-layoutHints :: Layout -> Layout
+layoutHints :: Layout Window -> Layout Window
layoutHints l = l { doLayout = \r x -> doLayout l r x >>= applyHints
, modifyLayout = \x -> fmap layoutHints `fmap` modifyLayout l x }