Haskell XMonad:在使窗口浮动后,如何再次将其重新插入平铺布局?
我使用以下绑定使窗口浮动并可拖动:Haskell XMonad:在使窗口浮动后,如何再次将其重新插入平铺布局?,haskell,xmonad,Haskell,Xmonad,我使用以下绑定使窗口浮动并可拖动: myMouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $ [ -- mod-button1, Set the window to floating mode and move by dragging ((modMask, button1), (\w -> focus w >> mouseMoveWindow w)) -- mo
myMouseBindings (XConfig {XMonad.modMask = modMask}) = M.fromList $
[
-- mod-button1, Set the window to floating mode and move by dragging
((modMask, button1),
(\w -> focus w >> mouseMoveWindow w))
-- mod-button2, Raise the window to the top of the stack
, ((modMask, button2),
(\w -> focus w >> windows W.swapMaster))
-- mod-button3, Set the window to floating mode and resize by dragging
, ((modMask, button3),
(\w -> focus w >> mouseResizeWindow w))
-- you may also bind events to the mouse scroll wheel (button4 and button5)
]
这非常有用,但是有时我想将窗口重新插入平铺布局中。XMonad中是否有这样做的机制?某些函数FunctInsertWindowBack:
标准配置已具有此绑定:
((modMask, xK_t), withFocused $ windows . W.sink)
标准配置已具有此绑定:
((modMask, xK_t), withFocused $ windows . W.sink)