aboutsummaryrefslogtreecommitdiffstats
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
commitb4f0dd679c7e4ed4bc2b46fd6d4f24783846a8fd (patch)
tree1cac5d3ebdd941099b994c46ab14b4a71311aa59
parente2bd155668c681377886ce0b2861ce8036db1d88 (diff)
downloadxmonad-b4f0dd679c7e4ed4bc2b46fd6d4f24783846a8fd.tar.gz
xmonad-b4f0dd679c7e4ed4bc2b46fd6d4f24783846a8fd.tar.xz
xmonad-b4f0dd679c7e4ed4bc2b46fd6d4f24783846a8fd.zip
comments on why fullscreen tiling doesn't work with `implicit' floating
darcs-hash:20070531090537-9c5c1-923390025493738d7d9b2e6afbb361362acb2e9a.gz
-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