aboutsummaryrefslogtreecommitdiffstats
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
commit3e736a64e874e5ee0eac1e72e8d019c6b04b121d (patch)
treea1cbdc56324630b66e2978dce7ab26a682f8abb5 /XMonad/Main.hs
parent00162a010b046de6a5ab06911c232dfad8f6a75c (diff)
downloadxmonad-3e736a64e874e5ee0eac1e72e8d019c6b04b121d.tar.gz
xmonad-3e736a64e874e5ee0eac1e72e8d019c6b04b121d.tar.xz
xmonad-3e736a64e874e5ee0eac1e72e8d019c6b04b121d.zip
update documentation
darcs-hash:20080311160727-bd4d7-05229354077a443abab79de16b60ac32728813a3.gz
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