move extraModifiers/cleanMask to Operations.hs

so XMonadContrib can use them
This commit is contained in:
Jason Creighton
2007-06-06 00:50:56 +00:00
parent d7d8c586cb
commit 5da458c755
3 changed files with 13 additions and 8 deletions

View File

@@ -130,12 +130,6 @@ grabButtons dpy rootw = do
where grab button mask = grabButton dpy button mask rootw False buttonPressMask
grabModeAsync grabModeSync none none
extraModifiers :: [KeyMask]
extraModifiers = [0, numlockMask, lockMask, numlockMask .|. lockMask ]
cleanMask :: KeyMask -> KeyMask
cleanMask = (complement (numlockMask .|. lockMask) .&.)
-- ---------------------------------------------------------------------
-- | Event handler. Map X events onto calls into Operations.hs, which
-- modify our internal model of the window manager state.