aboutsummaryrefslogtreecommitdiffstats
path: root/NoBorders.hs
diff options
context:
space:
mode:
Diffstat (limited to 'NoBorders.hs')
-rw-r--r--NoBorders.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/NoBorders.hs b/NoBorders.hs
index df0167d..96c2586 100644
--- a/NoBorders.hs
+++ b/NoBorders.hs
@@ -63,10 +63,10 @@ instance LayoutModifier WithBorder Window where
where
ws = map fst wrs
-noBorders :: Layout l Window => l Window -> ModifiedLayout WithBorder l Window
+noBorders :: LayoutClass l Window => l Window -> ModifiedLayout WithBorder l Window
noBorders = ModifiedLayout $ WithBorder 0 []
-withBorder :: Layout l a => Dimension -> l a -> ModifiedLayout WithBorder l a
+withBorder :: LayoutClass l a => Dimension -> l a -> ModifiedLayout WithBorder l a
withBorder b = ModifiedLayout $ WithBorder b []
setBorders :: Dimension -> [Window] -> X ()