XMonad.Layout.NoBorders: always unborder fullscreen floating windows, even when there are multiple screens

This commit is contained in:
Lukas Mai
2008-03-17 18:30:43 +00:00
parent a1fce4af5a
commit 7a341fa790

View File

@@ -76,11 +76,9 @@ instance LayoutModifier SmartBorder Window where
wset <- gets windowset
let
screens = filter (nonzerorect . screenRect . W.screenDetail) . W.screens $ wset
ws
| singleton screens = tiled ++ floating
| otherwise = []
ws = tiled ++ floating
tiled = case wrs of
[(w, _)] -> [w]
[(w, _)] | singleton screens -> [w]
_ -> []
floating =
[ w |