mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-07 23:41: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
|
wset <- gets windowset
|
||||||
let
|
let
|
||||||
screens = filter (nonzerorect . screenRect . W.screenDetail) . W.screens $ wset
|
screens = filter (nonzerorect . screenRect . W.screenDetail) . W.screens $ wset
|
||||||
ws
|
ws = tiled ++ floating
|
||||||
| singleton screens = tiled ++ floating
|
|
||||||
| otherwise = []
|
|
||||||
tiled = case wrs of
|
tiled = case wrs of
|
||||||
[(w, _)] -> [w]
|
[(w, _)] | singleton screens -> [w]
|
||||||
_ -> []
|
_ -> []
|
||||||
floating =
|
floating =
|
||||||
[ w |
|
[ w |
|
||||||
|
Reference in New Issue
Block a user