diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2022-03-28 23:27:45 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-10-09 12:19:45 -0600 |
| commit | c75c5f8254181242a96f3f6652a53cc70f40b13e (patch) | |
| tree | a4df88d0c9d98d3ba7513bc6c679c80a96c112e0 /src/Internal/RebindKeys.hs | |
| parent | 4b448be1c8c4cc1d973561f94b4527962d09bdd7 (diff) | |
| download | rde-c75c5f8254181242a96f3f6652a53cc70f40b13e.tar.gz rde-c75c5f8254181242a96f3f6652a53cc70f40b13e.tar.bz2 rde-c75c5f8254181242a96f3f6652a53cc70f40b13e.zip | |
Fix things that Hlint is complaining about.
Diffstat (limited to 'src/Internal/RebindKeys.hs')
| -rw-r--r-- | src/Internal/RebindKeys.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Internal/RebindKeys.hs b/src/Internal/RebindKeys.hs index 7c5d47c..38af754 100644 --- a/src/Internal/RebindKeys.hs +++ b/src/Internal/RebindKeys.hs @@ -7,7 +7,6 @@ module Internal.RebindKeys where import XMonad import Text.Printf -import Data.Monoid (Endo(..)) import Control.Monad.Trans.Class (lift) import Control.Monad (forM, forM_) import Data.Default (Default, def) @@ -21,10 +20,10 @@ import Internal.NoPersist type WindowHook = Query () -data InterceptState = +newtype InterceptState = InterceptState (NoPersist (Map (KeyMask, KeySym) (X ()))) -data RemapState = +newtype RemapState = RemapState (NoPersist (Map (Window, (KeyMask, KeySym)) (X ()))) instance ExtensionClass InterceptState where |