| Copyright | (c) 2018 L. S. Leary |
|---|---|
| License | BSD3-style (see LICENSE) |
| Maintainer | L. S. Leary |
| Stability | unstable |
| Portability | unportable |
| Safe Haskell | None |
| Language | Haskell2010 |
XMonad.Util.Grab
Contents
Description
This module should not be directly used by users. Its purpose is to facilitate grabbing and ungrabbing keys.
Synopsis
- grabKP :: KeyMask -> KeyCode -> X ()
- ungrabKP :: KeyMask -> KeyCode -> X ()
- grabUngrab :: [(KeyMask, KeySym)] -> [(KeyMask, KeySym)] -> X ()
- grab :: [(KeyMask, KeySym)] -> X ()
- customRegrabEvHook :: X () -> Event -> X All
Usage
This module should not be directly used by users. Its purpose is to facilitate grabbing and ungrabbing keys.
Arguments
| :: [(KeyMask, KeySym)] | Keys to grab |
| -> [(KeyMask, KeySym)] | Keys to ungrab |
| -> X () |
A convenience function to grab and ungrab keys
grab :: [(KeyMask, KeySym)] -> X () Source #
A convenience function to grab keys. This also ungrabs all previously grabbed keys.
customRegrabEvHook :: X () -> Event -> X All Source #
An event hook that runs a custom action to regrab the necessary keys.