aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad
diff options
context:
space:
mode:
authorSpencer Janssen <spencerjanssen@gmail.com>2008-12-05 05:51:30 +0100
committerSpencer Janssen <spencerjanssen@gmail.com>2008-12-05 05:51:30 +0100
commitc532b39b5f2db30a5717fe7ce69fe4118882a17b (patch)
tree0ee4fcf2a078bfc26314d0d394f9b92edc5e1b89 /XMonad
parent75d9e1d09c444de60368d94cde401c19ebe22de5 (diff)
downloadxmonad-c532b39b5f2db30a5717fe7ce69fe4118882a17b.tar.gz
xmonad-c532b39b5f2db30a5717fe7ce69fe4118882a17b.tar.xz
xmonad-c532b39b5f2db30a5717fe7ce69fe4118882a17b.zip
Accept inferior crossing events. This patch enables fmouse-focus-follows-screen
Ignore-this: 3ac329fb92839827aed0a4370784cabd darcs-hash:20081205045130-25a6b-971d40d7a853d12c2a34a1bfbd6ea77d6645af89.gz
Diffstat (limited to 'XMonad')
-rw-r--r--XMonad/Main.hsc1
1 files changed, 0 insertions, 1 deletions
diff --git a/XMonad/Main.hsc b/XMonad/Main.hsc
index acb3bfd..8e3eea8 100644
--- a/XMonad/Main.hsc
+++ b/XMonad/Main.hsc
@@ -240,7 +240,6 @@ handle e@(ButtonEvent {ev_window = w,ev_event_type = t,ev_button = b })
-- 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
= whenX (asks $ focusFollowsMouse . config) (focus w)
-- left a window, check if we need to focus root