summaryrefslogtreecommitdiffstats
path: root/XMonad/StackSet.hs
diff options
context:
space:
mode:
authorMalebria <malebria@riseup.net>2008-06-01 22:49:51 +0200
committerMalebria <malebria@riseup.net>2008-06-01 22:49:51 +0200
commit204714ce5e44752f2b2115650839c846e8e96f32 (patch)
tree2e7cacb8fc445e62a926e913b6900abc870a2bf7 /XMonad/StackSet.hs
parentd44de1baf58c8b80f64bffc7ced07a2a841797ca (diff)
downloadmetatile-204714ce5e44752f2b2115650839c846e8e96f32.tar
metatile-204714ce5e44752f2b2115650839c846e8e96f32.zip
Haddock syntax for enumeration
darcs-hash:20080601204951-1ef02-f66c70867a91bc35da3ab71b1169db4ba1ee62fe
Diffstat (limited to 'XMonad/StackSet.hs')
-rw-r--r--XMonad/StackSet.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/XMonad/StackSet.hs b/XMonad/StackSet.hs
index 4fed2eb..7674a44 100644
--- a/XMonad/StackSet.hs
+++ b/XMonad/StackSet.hs
@@ -459,13 +459,17 @@ insertUp a s = if member a s then s else insert
-- There are 4 cases to consider:
--
-- * delete on an Nothing workspace leaves it Nothing
+--
-- * otherwise, try to move focus to the down
+--
-- * otherwise, try to move focus to the up
+--
-- * otherwise, you've got an empty workspace, becomes Nothing
--
-- Behaviour with respect to the master:
--
-- * deleting the master window resets it to the newly focused window
+--
-- * otherwise, delete doesn't affect the master.
--
delete :: (Ord a, Eq s) => a -> StackSet i l a s sd -> StackSet i l a s sd