From c532b39b5f2db30a5717fe7ce69fe4118882a17b Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Fri, 5 Dec 2008 05:51:30 +0100 Subject: Accept inferior crossing events. This patch enables fmouse-focus-follows-screen Ignore-this: 3ac329fb92839827aed0a4370784cabd darcs-hash:20081205045130-25a6b-971d40d7a853d12c2a34a1bfbd6ea77d6645af89.gz --- XMonad/Main.hsc | 1 - 1 file changed, 1 deletion(-) (limited to 'XMonad') 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 -- cgit v1.2.3