aboutsummaryrefslogtreecommitdiff
path: root/src/Rahm/Desktop/Layout/ConsistentMosaic.hs
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-04-16 00:20:03 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-04-16 00:20:03 -0600
commitd1a00e6e42b4b513f7de66a9e710f62faca2ef00 (patch)
treedd16af5c820d5567df7f1bb8a7a2ca2ac0950d47 /src/Rahm/Desktop/Layout/ConsistentMosaic.hs
parent7a5051f7955a8b4e69b2c28b5a9b34f9730e21f0 (diff)
downloadrde-d1a00e6e42b4b513f7de66a9e710f62faca2ef00.tar.gz
rde-d1a00e6e42b4b513f7de66a9e710f62faca2ef00.tar.bz2
rde-d1a00e6e42b4b513f7de66a9e710f62faca2ef00.zip
fix some hlint warnings
Diffstat (limited to 'src/Rahm/Desktop/Layout/ConsistentMosaic.hs')
-rw-r--r--src/Rahm/Desktop/Layout/ConsistentMosaic.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Rahm/Desktop/Layout/ConsistentMosaic.hs b/src/Rahm/Desktop/Layout/ConsistentMosaic.hs
index db1ce4e..a84a2f1 100644
--- a/src/Rahm/Desktop/Layout/ConsistentMosaic.hs
+++ b/src/Rahm/Desktop/Layout/ConsistentMosaic.hs
@@ -37,7 +37,7 @@ shrinkPositionAlt = doAlt shrinkWindowAlt
instance (LayoutClass l a, Show a, Ord a, Enum a, Num a) => LayoutClass (MosaicWrap l) a where
-
+
runLayout (W.Workspace t (MosaicWrap l) (id -> Just s)) rect = do
let zs = zipStack [100..] s
s' = mapStack fst zs
@@ -59,7 +59,7 @@ instance (LayoutClass l a, Show a, Ord a, Enum a, Num a) => LayoutClass (MosaicW
runLayout (W.Workspace t (MosaicWrap l) a) rect = do
(rects, maybeNewLayout) <- runLayout (W.Workspace t l a) rect
return (rects, MosaicWrap <$> maybeNewLayout)
-
+
-- By default just pass the message to the underlying layout.
handleMessage (MosaicWrap l) mess = do