summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDon Stewart <dons@cse.unsw.edu.au>2007-05-31 11:05:37 +0200
committerDon Stewart <dons@cse.unsw.edu.au>2007-05-31 11:05:37 +0200
commitd6bc718f7f2d03c9daef479c04419f7e61a00d40 (patch)
tree1cac5d3ebdd941099b994c46ab14b4a71311aa59
parent101004dd9f0526d12398e42d26b8d6bc5a57812b (diff)
downloadmetatile-d6bc718f7f2d03c9daef479c04419f7e61a00d40.tar
metatile-d6bc718f7f2d03c9daef479c04419f7e61a00d40.zip
comments on why fullscreen tiling doesn't work with `implicit' floating
darcs-hash:20070531090537-9c5c1-923390025493738d7d9b2e6afbb361362acb2e9a
-rw-r--r--Operations.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Operations.hs b/Operations.hs
index 9bdd962..8a31d1e 100644
--- a/Operations.hs
+++ b/Operations.hs
@@ -179,6 +179,16 @@ refresh = do
-- TODO seems fishy?
-- Urgh. This is required because the fullscreen layout assumes that
-- the focused window will be raised. Hmm. This is a reordering.
+
+ -- This really doesn't work with fullscreen mode, where
+ -- focus is used to find the raised window. moving the floating
+ -- layer will move focus there, so we now have forgotten the
+ -- window on the top of the fullscreen
+ --
+ -- I think the solution must be to track the floating layer separately
+ -- in its own zipper, on each workspace. And from there to
+ -- handle pushing between the two.
+ --
let tiled' = case W.peek this of
Just x | x `elem` tiled -> x : delete x tiled
_ -> tiled