aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/RebindKeys.hs
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-03-28 23:27:45 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-03-28 23:27:45 -0600
commit685d67d19d2e94fc94ed7334e5e7ab19454426d7 (patch)
treea4df88d0c9d98d3ba7513bc6c679c80a96c112e0 /src/Internal/RebindKeys.hs
parentefe9e1a5f8474a865e2762d3a795dbe43763985b (diff)
downloadrde-685d67d19d2e94fc94ed7334e5e7ab19454426d7.tar.gz
rde-685d67d19d2e94fc94ed7334e5e7ab19454426d7.tar.bz2
rde-685d67d19d2e94fc94ed7334e5e7ab19454426d7.zip
Fix things that Hlint is complaining about.
Diffstat (limited to 'src/Internal/RebindKeys.hs')
-rw-r--r--src/Internal/RebindKeys.hs5
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