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:
@@ -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
|
||||
|
Reference in New Issue
Block a user