diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-12-27 09:03:56 +0100 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-12-27 09:03:56 +0100 |
commit | 7969e5317f32590b955820571ea69d5d4dd9ef6d (patch) | |
tree | b1e3f00c9f6d49ecddc46967de76d1aa6f355782 /XMonad | |
parent | d580034347e4a940c14955ed17b23fbff20936f5 (diff) | |
download | metatile-7969e5317f32590b955820571ea69d5d4dd9ef6d.tar metatile-7969e5317f32590b955820571ea69d5d4dd9ef6d.zip |
Broadcast button events to all layouts, fix for issue #111
darcs-hash:20071227080356-a5988-84b6fa045d2a0d4fcc0c2d3c2ab673d5419d5130
Diffstat (limited to 'XMonad')
-rw-r--r-- | XMonad/Main.hs | 2 |
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}) |