diff options
author | Brent Yorgey <byorgey@gmail.com> | 2007-12-17 23:47:12 +0100 |
---|---|---|
committer | Brent Yorgey <byorgey@gmail.com> | 2007-12-17 23:47:12 +0100 |
commit | eb565dbb5e258a329eed003147492aedda0f75a5 (patch) | |
tree | 5c1ef480fbd94bff549ad8cdeb601e3e5c4c6074 /XMonad/Actions | |
parent | a7ef518c2b45aa980fef30655661b128c9791dcf (diff) | |
download | XMonadContrib-eb565dbb5e258a329eed003147492aedda0f75a5.tar.gz XMonadContrib-eb565dbb5e258a329eed003147492aedda0f75a5.tar.xz XMonadContrib-eb565dbb5e258a329eed003147492aedda0f75a5.zip |
Warp.hs: haddock fixes
darcs-hash:20071217224712-bd4d7-0fa4da156f09a67bb47fb808fc1dc2f6cbd9ef8f.gz
Diffstat (limited to 'XMonad/Actions')
-rw-r--r-- | XMonad/Actions/Warp.hs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/XMonad/Actions/Warp.hs b/XMonad/Actions/Warp.hs index 075a133..e0d3c03 100644 --- a/XMonad/Actions/Warp.hs +++ b/XMonad/Actions/Warp.hs @@ -40,15 +40,19 @@ then add appropriate keybindings to warp the pointer; for example: Note that warping to a particular screen may change the focus. -warpToScreen and warpToWindow can be used in a variety of ways. Suppose you wanted to emulate -Ratpoison's 'banish' command, which moves the mouse pointer to a corner; you could define: +'warpToScreen' and 'warpToWindow' can be used in a variety of +ways. Suppose you wanted to emulate Ratpoison's \'banish\' command, +which moves the mouse pointer to a corner; you could define: + > banish :: X () > banish = warpToWindow 1 1 -- lower left -And if you wanted to run it on every window or focus movement, you could put it -into your xmonad.hs's logHook (which activates on every change) like thus: +And if you wanted to run it on every window or focus movement, you +could put it into your @xmonad.hs@'s logHook (which activates on every +change) like thus: > , logHook = banish + -} -- For detailed instructions on editing your key bindings, see |