1
0
mirror of https://github.com/xmonad/xmonad.git synced 2025-08-17 12:53:48 -07:00

setInitialProperties after placing windows

This commit is contained in:
Spencer Janssen
2007-10-19 20:13:10 +00:00
parent 1be4bc5d91
commit f5ad470815

@@ -121,7 +121,6 @@ windows f = do
let oldvisible = concatMap (W.integrate' . W.stack . W.workspace) $ W.current old : W.visible old
ws = f old
XConf { display = d , normalBorder = nbc, focusedBorder = fbc } <- ask
mapM_ setInitialProperties (W.allWindows ws \\ W.allWindows old)
whenJust (W.peek old) $ \otherw -> io $ setWindowBorder d otherw nbc
modify (\s -> s { windowset = ws })
@@ -167,6 +166,8 @@ windows f = do
-- return the visible windows for this workspace:
return vs
mapM_ setInitialProperties (W.allWindows ws \\ W.allWindows old)
whenJust (W.peek ws) $ \w -> io $ setWindowBorder d w fbc
setTopFocus
userCode logHook