summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-09-17 23:40:52 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-09-17 23:40:52 +0200
commit60cf63e380ed5e9001170ddd985ade799ef4e844 (patch)
treeefce4224295d2e2ccc4258b71defc5b344438962
parentd97d93319c89516c9d68188a625eaafe092f5fbe (diff)
downloadmetatile-60cf63e380ed5e9001170ddd985ade799ef4e844.tar
metatile-60cf63e380ed5e9001170ddd985ade799ef4e844.zip
Eliminate Operations.sink too
darcs-hash:20070917214052-a5988-62b6e8d26a78a7e25a2e0117f7f112c5b039d933
-rw-r--r--Config.hs2
-rw-r--r--Operations.hs4
2 files changed, 1 insertions, 5 deletions
diff --git a/Config.hs b/Config.hs
index f691914..ff31d07 100644
--- a/Config.hs
+++ b/Config.hs
@@ -153,7 +153,7 @@ keys = M.fromList $
, ((modMask, xK_h ), sendMessage Shrink) -- %! Shrink the master area
, ((modMask, xK_l ), sendMessage Expand) -- %! Expand the master area
- , ((modMask, xK_t ), withFocused sink) -- %! Push window back into tiling
+ , ((modMask, xK_t ), withFocused $ windows . W.sink) -- %! Push window back into tiling
-- increase or decrease number of windows in the master area
, ((modMask , xK_comma ), sendMessage (IncMasterN 1)) -- %! Increment the number of windows in the master area
diff --git a/Operations.hs b/Operations.hs
index ae95d9e..e516381 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -451,10 +451,6 @@ initColor dpy c = (color_pixel . fst) `liftM` allocNamedColor dpy colormap c
------------------------------------------------------------------------
-- | Floating layer support
--- | Make a floating window tiled
-sink :: Window -> X ()
-sink = windows . W.sink
-
-- | Make a tiled window floating, using its suggested rectangle
float :: Window -> X ()
float w = withDisplay $ \d -> do