aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorLiyang HU <git@liyang.hu>2013-07-30 07:37:46 +0200
committerLiyang HU <git@liyang.hu>2013-07-30 07:37:46 +0200
commitf7c2abce3dd948b5105dd0dd91ac989130bf6436 (patch)
tree85a07a6b99dbecafd9683aabae14cf95b58f68d3 /XMonad
parentcdfc68322a35f686bdcd035e0313536ee81255cc (diff)
downloadXMonadContrib-f7c2abce3dd948b5105dd0dd91ac989130bf6436.tar.gz
XMonadContrib-f7c2abce3dd948b5105dd0dd91ac989130bf6436.tar.xz
XMonadContrib-f7c2abce3dd948b5105dd0dd91ac989130bf6436.zip
XMonad.Actions.UpdatePointer: document TowardsCentre
Ignore-this: 2d684b12e4fff0ebec254bea4a4546a3 darcs-hash:20130730053746-3269f-235f33d9a4cb66f26bac76bb7497ba9186975c4a.gz
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Actions/UpdatePointer.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/XMonad/Actions/UpdatePointer.hs b/XMonad/Actions/UpdatePointer.hs
index 4eed35d..9bd4fd4 100644
--- a/XMonad/Actions/UpdatePointer.hs
+++ b/XMonad/Actions/UpdatePointer.hs
@@ -43,7 +43,12 @@ import Data.Maybe
--
-- > logHook = updatePointer (Relative 0.5 0.5)
--
--- which will move the pointer to the center of a newly focused window.
+-- which will move the pointer to the center of a newly focused window, or
+--
+-- > logHook = updatePointer (TowardsCentre 0.75 0.75)
+--
+-- which will linearly interpolate the pointer between 'Nearest' and ¾ of
+-- the way towards the centre of the window.
--
-- To use this with an existing logHook, use >> :
--