diff options
author | Roman Cheplyaka <roma@ro-che.info> | 2008-11-17 14:39:57 +0100 |
---|---|---|
committer | Roman Cheplyaka <roma@ro-che.info> | 2008-11-17 14:39:57 +0100 |
commit | 74b0ba725bf0e7dd8b6a5617acf2353729aae1d1 (patch) | |
tree | 2f2c731f92e96aa4fd871750008ef61b3b68fd1a /XMonad/Layout | |
parent | 92872bf47937100b9e0352c8d31bdbf333565206 (diff) | |
download | XMonadContrib-74b0ba725bf0e7dd8b6a5617acf2353729aae1d1.tar.gz XMonadContrib-74b0ba725bf0e7dd8b6a5617acf2353729aae1d1.tar.xz XMonadContrib-74b0ba725bf0e7dd8b6a5617acf2353729aae1d1.zip |
Monitor: use broadcastMessage instead of sendMessage; this solves several issues
darcs-hash:20081117133957-3ebed-98c6d8fb40813bd4192708584f8fca74fb17d22c.gz
Diffstat (limited to 'XMonad/Layout')
-rw-r--r-- | XMonad/Layout/Monitor.hs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/XMonad/Layout/Monitor.hs b/XMonad/Layout/Monitor.hs index 558af32..50fecde 100644 --- a/XMonad/Layout/Monitor.hs +++ b/XMonad/Layout/Monitor.hs @@ -54,7 +54,7 @@ import Control.Monad -- -- It's also useful to add some keybinding to toggle monitor visibility: -- --- > , ((mod1Mask, xK_u ), sendMessage ToggleMonitor) +-- > , ((mod1Mask, xK_u ), broadcastMessage ToggleMonitor >> refresh) -- -- Screenshot: <http://www.haskell.org/haskellwiki/Image:Xmonad-clock.png> @@ -113,9 +113,6 @@ addNamedPersistentMonitor name p r = ModifiedLayout (Monitor p r True (Just name -- $hints -- - This module assumes that there is only one window satisfying property exists. -- --- - On multihead setup, since two layouts are shown at the same time, to hide --- monitor you need to hide it on both layouts. --- -- - If you want the monitor to be available on /all/ layouts, use -- 'addPersistentMonitor' instead of 'addMonitor' to avoid unnecessary -- flickering. You can still toggle monitor with a keybinding. @@ -138,5 +135,3 @@ addNamedPersistentMonitor name p r = ModifiedLayout (Monitor p r True (Just name -- - automatically unmanage the window? -- -- - specify position relative to the screen --- --- - toggle monitor on all workspaces (how?) |