diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2022-04-16 00:20:03 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-10-09 12:19:46 -0600 |
| commit | 1ba923704e7889205f574de1b85f48773ec6aca7 (patch) | |
| tree | 84b248671ab8918a12bb95a3ca62fb1912b934f2 /src/Rahm/Desktop/Layout/Hole.hs | |
| parent | 9e5d56cfb2508d9f5e58bf681265d0f1070b3f35 (diff) | |
| download | rde-1ba923704e7889205f574de1b85f48773ec6aca7.tar.gz rde-1ba923704e7889205f574de1b85f48773ec6aca7.tar.bz2 rde-1ba923704e7889205f574de1b85f48773ec6aca7.zip | |
fix some hlint warnings
Diffstat (limited to 'src/Rahm/Desktop/Layout/Hole.hs')
| -rw-r--r-- | src/Rahm/Desktop/Layout/Hole.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Rahm/Desktop/Layout/Hole.hs b/src/Rahm/Desktop/Layout/Hole.hs index ee59726..3f7c9b7 100644 --- a/src/Rahm/Desktop/Layout/Hole.hs +++ b/src/Rahm/Desktop/Layout/Hole.hs @@ -32,11 +32,11 @@ instance (LayoutClass l a, Eq a, Num a) => LayoutClass (Hole l) a where app x w | not enabled = w app x (W.Workspace t l s) = case s of - Nothing -> + Nothing -> W.Workspace t l (Just $ W.Stack x [] []) Just (W.Stack h c e) -> W.Workspace t l (Just $ W.Stack h c (e ++ [x])) - + handleMessage h (fromMessage -> Just (ManageHole f)) = return $ Just $ f h handleMessage (Hole e l) a = do |