aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Actions
diff options
context:
space:
mode:
authorAdam Vogt <vogt.adam@gmail.com>2009-09-04 03:02:59 +0200
committerAdam Vogt <vogt.adam@gmail.com>2009-09-04 03:02:59 +0200
commitd1f30705f1ecca6ecc5c3fd52411c56d8e0f7525 (patch)
treeb5464c2bfbb6f2fd0541260d821e70ceab40e26a /XMonad/Actions
parenta17402e82a0f0c6de2284d904a805c02f8f9f81d (diff)
downloadXMonadContrib-d1f30705f1ecca6ecc5c3fd52411c56d8e0f7525.tar.gz
XMonadContrib-d1f30705f1ecca6ecc5c3fd52411c56d8e0f7525.tar.xz
XMonadContrib-d1f30705f1ecca6ecc5c3fd52411c56d8e0f7525.zip
Remove excess broadcastMessage ReleaseResources from A.Commands
Ignore-this: e55e16750bd1ee116760559680495b46 XMonad.Operations.restart tells the layouts to release resources. There's no sense in duplicating it in contrib code anymore. darcs-hash:20090904010259-1499c-85747018852d2b25a752defc956d6b80b1187343.gz
Diffstat (limited to 'XMonad/Actions')
-rw-r--r--XMonad/Actions/Commands.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/XMonad/Actions/Commands.hs b/XMonad/Actions/Commands.hs
index 7dc7f8d..f513990 100644
--- a/XMonad/Actions/Commands.hs
+++ b/XMonad/Actions/Commands.hs
@@ -82,14 +82,13 @@ defaultCommands = do
wscmds <- workspaceCommands
return $ wscmds ++ screenCommands ++ otherCommands
where
- sr = broadcastMessage ReleaseResources
otherCommands =
[ ("shrink" , sendMessage Shrink )
, ("expand" , sendMessage Expand )
, ("next-layout" , sendMessage NextLayout )
, ("default-layout" , asks (layoutHook . config) >>= setLayout )
- , ("restart-wm" , sr >> restart "xmonad" True )
- , ("restart-wm-no-resume", sr >> restart "xmonad" False )
+ , ("restart-wm" , restart "xmonad" True )
+ , ("restart-wm-no-resume", restart "xmonad" False )
, ("xterm" , spawn =<< asks (terminal . config) )
, ("run" , spawn "exe=`dmenu_path | dmenu -b` && exec $exe" )
, ("kill" , kill )