aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-04-01 17:42:26 -0600
committerJosh Rahm <rahm@google.com>2022-04-01 17:43:05 -0600
commitea7445ce7d355aacd040c99cf2e13bad6cdba62b (patch)
treeb743c359eab633affca8b5adedaf2d606b099161 /src/Main.hs
parentc194a9be4e43bc4514070d172024fcf3354fb662 (diff)
downloadrde-experimental_mouse_mask.tar.gz
rde-experimental_mouse_mask.tar.bz2
rde-experimental_mouse_mask.zip
Add ButtonMasks. Not function. Experimental to try and handle dealing with multiple buttons as masks.experimental_mouse_mask
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 0b4a181..0269ef3 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -21,6 +21,7 @@ import Internal.Logger
import Internal.DMenu (menuCommandString)
import Internal.RebindKeys
import Internal.KeysM
+import Internal.ButtonMasks
import qualified XMonad as X
import qualified XMonad.StackSet as W
@@ -37,7 +38,7 @@ main = do
xmobar <- spawnXMobar
(=<<) X.xmonad $
- applyKeys $ ewmh $ docks $ def
+ applyKeys $ withButtonMasks $ ewmh $ docks $ def
{ terminal = "alacritty"
, modMask = mod3Mask
, borderWidth = 2