summaryrefslogtreecommitdiffstats
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
commitf3b77e1106af7979d1e8fe9a5a01d4319169b64e (patch)
tree0ee4fcf2a078bfc26314d0d394f9b92edc5e1b89 /XMonad
parent3194a4ec820e53cdb370403503871ff4efb3f9e1 (diff)
downloadmetatile-f3b77e1106af7979d1e8fe9a5a01d4319169b64e.tar
metatile-f3b77e1106af7979d1e8fe9a5a01d4319169b64e.zip
Accept inferior crossing events. This patch enables fmouse-focus-follows-screen
Ignore-this: 3ac329fb92839827aed0a4370784cabd darcs-hash:20081205045130-25a6b-971d40d7a853d12c2a34a1bfbd6ea77d6645af89
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