mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 04:31:52 -07:00
XMonad.Layout.NoBorders: always unborder fullscreen floating windows, even when there are multiple screens
This commit is contained in:
@@ -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 |
|
||||
|
Reference in New Issue
Block a user