NoBorders: Fixed a bug with fullscreen windows
This commit is contained in:
parent
2cc660607d
commit
03965e79a1
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ instance (Read p, Show p, SetsAmbiguous p) => LayoutModifier (ConfigurableBorder
|
|||
|
||||
redoLayout (ConfigurableBorder p sold) _ mst wrs = do
|
||||
wsh <- withWindowSet (\wset -> return (hiddens p wset mst wrs))
|
||||
s <- mapM (\w -> winBorderWidth w >>= \bw -> return (w,bw)) ws >>= return . M.fromList
|
||||
s <- mapM (\w -> winBorderWidth w >>= \bw -> return (w,bw)) (ws ++ wsh) >>= return . M.fromList
|
||||
let snew = M.mapWithKey (\w bw -> M.findWithDefault bw w sold) s
|
||||
|
||||
setBorders $ M.toList $ M.filterWithKey (\w _ -> notElem w wsh) sold
|
||||
|
|
Reference in a new issue