From 74b0ba725bf0e7dd8b6a5617acf2353729aae1d1 Mon Sep 17 00:00:00 2001 From: Roman Cheplyaka Date: Mon, 17 Nov 2008 14:39:57 +0100 Subject: Monitor: use broadcastMessage instead of sendMessage; this solves several issues darcs-hash:20081117133957-3ebed-98c6d8fb40813bd4192708584f8fca74fb17d22c.gz --- XMonad/Layout/Monitor.hs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'XMonad/Layout/Monitor.hs') 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: @@ -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?) -- cgit v1.2.3