summaryrefslogtreecommitdiffstats
path: root/Operations.hs
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-09-17 23:19:53 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-09-17 23:19:53 +0200
commitd97d93319c89516c9d68188a625eaafe092f5fbe (patch)
tree1c7ba66107e755755d03e590b02055fae1364c3a /Operations.hs
parent23a0a3a3a683a4237196699a09719371e2042190 (diff)
downloadmetatile-d97d93319c89516c9d68188a625eaafe092f5fbe.tar
metatile-d97d93319c89516c9d68188a625eaafe092f5fbe.zip
Remove Operations functions which have StackSet equivalents, just use 'windows foo' instead
darcs-hash:20070917211953-a5988-8e5141139dfaa7ebc2e2f8f3ae4f923094bd71d7
Diffstat (limited to 'Operations.hs')
-rw-r--r--Operations.hs16
1 files changed, 0 insertions, 16 deletions
diff --git a/Operations.hs b/Operations.hs
index 39dc253..ae95d9e 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -74,22 +74,6 @@ unmanage w = do
setWMState w 0 {-withdrawn-}
modify (\s -> s {mapped = S.delete w (mapped s), waitingUnmap = M.delete w (waitingUnmap s)})
--- | focus. focus window up or down. or swap various windows.
-focusUp, focusDown, swapUp, swapDown, swapMaster :: X ()
-focusUp = windows W.focusUp
-focusDown = windows W.focusDown
-swapUp = windows W.swapUp
-swapDown = windows W.swapDown
-swapMaster = windows W.swapMaster
-
--- | shift. Move a window to a new workspace, 0 indexed.
-shift :: WorkspaceId -> X ()
-shift = windows . W.shift
-
--- | view. Change the current workspace to workspace at offset n (0 indexed).
-view :: WorkspaceId -> X ()
-view = windows . W.greedyView
-
-- | Modify the size of the status gap at the top of the current screen
-- Taking a function giving the current screen, and current geometry.
modifyGap :: (Int -> (Int,Int,Int,Int) -> (Int,Int,Int,Int)) -> X ()