From 768b420eb81e7a65447cd26663b2f8c95986095e Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Tue, 7 Oct 2008 22:39:53 +0200 Subject: Track mouse position via events received darcs-hash:20081007203953-25a6b-820e60a7db931a5e5e27ab8736643aea932ca3ec.gz --- XMonad/Core.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'XMonad/Core.hs') diff --git a/XMonad/Core.hs b/XMonad/Core.hs index 1bc289a..a6ee797 100644 --- a/XMonad/Core.hs +++ b/XMonad/Core.hs @@ -70,6 +70,9 @@ data XConf = XConf , buttonActions :: !(M.Map (KeyMask, Button) (Window -> X ())) -- ^ a mapping of button presses to actions , mouseFocused :: !Bool -- ^ was refocus caused by mouse action? + , mousePosition :: !(Maybe (Position, Position)) + -- ^ position of the mouse according to + -- the event currently being processed } -- todo, better name -- cgit v1.2.3