xmonad-contrib-0.18.0: Community-maintained extensions for xmonad
Copyright(c) 2018 L. S. Leary
LicenseBSD3-style (see LICENSE)
MaintainerL. S. Leary
Stabilityunstable
Portabilityunportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

XMonad.Util.Grab

Contents

Description

This module should not be directly used by users. Its purpose is to facilitate grabbing and ungrabbing keys.

Synopsis

Usage

This module should not be directly used by users. Its purpose is to facilitate grabbing and ungrabbing keys.

grabKP :: KeyMask -> KeyCode -> X () Source #

A more convenient version of grabKey.

ungrabKP :: KeyMask -> KeyCode -> X () Source #

A more convenient version of ungrabKey.

grabUngrab Source #

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.