summaryrefslogtreecommitdiffstats
path: root/XMonad/Layout.hs
diff options
context:
space:
mode:
Diffstat (limited to 'XMonad/Layout.hs')
-rw-r--r--XMonad/Layout.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/XMonad/Layout.hs b/XMonad/Layout.hs
index 981541c..94051b2 100644
--- a/XMonad/Layout.hs
+++ b/XMonad/Layout.hs
@@ -136,6 +136,8 @@ instance LayoutClass l a => LayoutClass (Mirror l) a where
doLayout (Mirror l) r s = (map (second mirrorRect) *** fmap Mirror)
`fmap` doLayout l (mirrorRect r) s
handleMessage (Mirror l) = fmap (fmap Mirror) . handleMessage l
+ emptyLayout (Mirror l) r = (map (second mirrorRect) *** fmap Mirror)
+ `fmap` emptyLayout l (mirrorRect r)
description (Mirror l) = "Mirror "++ description l
-- | tile. Compute the positions for windows using the default 2 pane tiling algorithm.