[XMonad] Reindent windowAct
This commit is contained in:
parent
725b5f5c30
commit
ccbff942e8
@ -433,12 +433,9 @@ chromeTabAction doSplit action selected =
|
|||||||
|
|
||||||
-- This needs access to X in order to unminimize, which means that it can't be
|
-- This needs access to X in order to unminimize, which means that it can't be
|
||||||
-- done with the existing window bringer interface
|
-- done with the existing window bringer interface
|
||||||
myWindowAct c@WindowBringerConfig { menuCommand = cmd
|
myWindowAct c@WindowBringerConfig {menuCommand = cmd, menuArgs = args} action = do
|
||||||
, menuArgs = args
|
|
||||||
} action =
|
|
||||||
do
|
|
||||||
visible <- visibleWindows
|
visible <- visibleWindows
|
||||||
ws <- windowMap' c { windowFilter = not . flip elem visible }
|
ws <- windowMap' c {windowFilter = not . flip elem visible}
|
||||||
-- chromeTabs <- liftIO getChromeTabInfo
|
-- chromeTabs <- liftIO getChromeTabInfo
|
||||||
let options = M.union (M.map Left ws) (M.map Right M.empty)
|
let options = M.union (M.map Left ws) (M.map Right M.empty)
|
||||||
selection <- DM.menuMapArgs cmd args options
|
selection <- DM.menuMapArgs cmd args options
|
||||||
|
Loading…
Reference in New Issue
Block a user