diff options
| author | Josh Rahm <rahm@google.com> | 2022-03-29 14:26:40 -0600 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2022-03-29 14:26:40 -0600 |
| commit | bfb70428f7791000239ac1d90635677ff577fee7 (patch) | |
| tree | 0599b9b19f2e404c2a72b3e1a7b59890d03cb426 /src/Internal/KeysM.hs | |
| parent | a9286e8c39cc8de56de7a723c9ddabd78ac64198 (diff) | |
| download | rde-bfb70428f7791000239ac1d90635677ff577fee7.tar.gz rde-bfb70428f7791000239ac1d90635677ff577fee7.tar.bz2 rde-bfb70428f7791000239ac1d90635677ff577fee7.zip | |
Fixed bug where multiple configures would override previous configures for window-specific bindings
Diffstat (limited to 'src/Internal/KeysM.hs')
| -rw-r--r-- | src/Internal/KeysM.hs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Internal/KeysM.hs b/src/Internal/KeysM.hs index dfb1429..f834796 100644 --- a/src/Internal/KeysM.hs +++ b/src/Internal/KeysM.hs @@ -28,13 +28,6 @@ class Bindable k where bind :: k -> BindingBuilder (BindableValue k) a -> BindableMonad k l () -instance Semigroup (KeysM l ()) where - (<>) = mappend - -instance Monoid (KeysM l ()) where - mempty = return () - mappend = (>>) - runKeys :: KeysM l a -> XConfig l -> Map (KeyMask, KeySym) (X ()) runKeys (KeysM stateM) config = snd $ execState stateM (config, Map.empty) |