summaryrefslogtreecommitdiffstats
path: root/XMonad/Main.hs
diff options
context:
space:
mode:
authorBrent Yorgey <byorgey@gmail.com>2008-03-11 17:07:27 +0100
committerBrent Yorgey <byorgey@gmail.com>2008-03-11 17:07:27 +0100
commit96d7417e6d3921601cd0549e550ab3a478c15c0c (patch)
treea1cbdc56324630b66e2978dce7ab26a682f8abb5 /XMonad/Main.hs
parent8589b96d218dd569db509ce54d0161b86a4024d9 (diff)
downloadmetatile-96d7417e6d3921601cd0549e550ab3a478c15c0c.tar
metatile-96d7417e6d3921601cd0549e550ab3a478c15c0c.zip
update documentation
darcs-hash:20080311160727-bd4d7-05229354077a443abab79de16b60ac32728813a3
Diffstat (limited to 'XMonad/Main.hs')
-rw-r--r--XMonad/Main.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/XMonad/Main.hs b/XMonad/Main.hs
index 405caec..667af81 100644
--- a/XMonad/Main.hs
+++ b/XMonad/Main.hs
@@ -109,7 +109,7 @@ xmonad initxmc = do
-- bootstrap the windowset, Operations.windows will identify all
-- the windows in winset as new and set initial properties for
-- those windows. Remove all windows that are no longer top-level
- -- children of the root, they may have disappeared since
+ -- children of the root, they may have disappeared since
-- restarting.
windows . const . foldr W.delete winset $ W.allWindows winset \\ ws
@@ -202,7 +202,8 @@ handle e@(ButtonEvent {ev_window = w,ev_event_type = t,ev_button = b })
else focus w
broadcastMessage e -- Always send button events.
--- entered a normal window, makes this focused.
+-- entered a normal window: focus it if focusFollowsMouse is set to
+-- True in the user's config.
handle e@(CrossingEvent {ev_window = w, ev_event_type = t})
| t == enterNotify && ev_mode e == notifyNormal
&& ev_detail e /= notifyInferior