diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2022-03-28 23:27:45 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-03-28 23:27:45 -0600 |
| commit | 685d67d19d2e94fc94ed7334e5e7ab19454426d7 (patch) | |
| tree | a4df88d0c9d98d3ba7513bc6c679c80a96c112e0 /src/Internal/Marking.hs | |
| parent | efe9e1a5f8474a865e2762d3a795dbe43763985b (diff) | |
| download | rde-685d67d19d2e94fc94ed7334e5e7ab19454426d7.tar.gz rde-685d67d19d2e94fc94ed7334e5e7ab19454426d7.tar.bz2 rde-685d67d19d2e94fc94ed7334e5e7ab19454426d7.zip | |
Fix things that Hlint is complaining about.
Diffstat (limited to 'src/Internal/Marking.hs')
| -rw-r--r-- | src/Internal/Marking.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Internal/Marking.hs b/src/Internal/Marking.hs index c1234ec..e37e241 100644 --- a/src/Internal/Marking.hs +++ b/src/Internal/Marking.hs @@ -40,7 +40,7 @@ greedyFocus win = do markCurrentWindow :: Mark -> X () markCurrentWindow mark = do withFocused $ \win -> - XS.modify $ \state@(MarkState {markStateMap = ms}) -> + XS.modify $ \state@MarkState {markStateMap = ms} -> state { markStateMap = Map.insert mark win ms } @@ -73,7 +73,7 @@ setFocusedWindow case stack of Nothing -> Nothing Just (Stack _ up down) -> Just (Stack window up down) in - (StackSet (Screen (Workspace t l newStack) a b) vis hid float) + StackSet (Screen (Workspace t l newStack) a b) vis hid float swapWithFocused :: (Ord a) => a -> StackSet i l a s sd -> StackSet i l a s sd swapWithFocused winToSwap stackSet = |