aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Main.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-12-27 09:03:56 +0100
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-12-27 09:03:56 +0100
commitb293934dea14fedae3ac1ba3852d38e169be4891 (patch)
treeb1e3f00c9f6d49ecddc46967de76d1aa6f355782 /XMonad/Main.hs
parent4e198ed974ef61a942716a8640cbeab10d3b344b (diff)
downloadxmonad-b293934dea14fedae3ac1ba3852d38e169be4891.tar.gz
xmonad-b293934dea14fedae3ac1ba3852d38e169be4891.tar.xz
xmonad-b293934dea14fedae3ac1ba3852d38e169be4891.zip
Broadcast button events to all layouts, fix for issue #111
darcs-hash:20071227080356-a5988-84b6fa045d2a0d4fcc0c2d3c2ab673d5419d5130.gz
Diffstat (limited to '')
-rw-r--r--XMonad/Main.hs2
1 files changed, 1 insertions, 1 deletions
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})