From b293934dea14fedae3ac1ba3852d38e169be4891 Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Thu, 27 Dec 2007 09:03:56 +0100 Subject: Broadcast button events to all layouts, fix for issue #111 darcs-hash:20071227080356-a5988-84b6fa045d2a0d4fcc0c2d3c2ab673d5419d5130.gz --- XMonad/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'XMonad/Main.hs') diff --git a/XMonad/Main.hs b/XMonad/Main.hs index 60d8e6a..31dad6a 100644 --- a/XMonad/Main.hs +++ b/XMonad/Main.hs @@ -189,7 +189,7 @@ handle e@(ButtonEvent {ev_window = w,ev_event_type = t,ev_button = b }) ba <- asks buttonActions if isr then userCode $ whenJust (M.lookup (m, b) ba) ($ ev_subwindow e) else focus w - sendMessage e -- Always send button events. + broadcastMessage e -- Always send button events. -- entered a normal window, makes this focused. handle e@(CrossingEvent {ev_window = w, ev_event_type = t}) -- cgit v1.2.3