Warp.hs: haddock fixes

This commit is contained in:
Brent Yorgey
2007-12-17 22:47:12 +00:00
parent 697d9e21b7
commit 0d5de727c3

View File

@@ -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