formatting and comments only

This commit is contained in:
Don Stewart
2007-03-07 07:19:26 +00:00
parent ebe2ddf2e4
commit 11af93da57

View File

@@ -141,13 +141,12 @@ withWindows f = do
modifyWindows f modifyWindows f
refresh refresh
-- | manage. Add a new window to be managed -- | manage. Add a new window to be managed. Bring it into focus.
manage :: Window -> W () manage :: Window -> W ()
manage w = do manage w = do
trace "manage"
d <- gets display d <- gets display
withWindows (nub . (w :))
io $ mapWindow d w io $ mapWindow d w
withWindows (nub . (w :))
-- | unmanage, a window no longer exists, remove it from the stack -- | unmanage, a window no longer exists, remove it from the stack
unmanage :: Window -> W () unmanage :: Window -> W ()