Remove redundant setFocus, setFocus is called by refresh which is called by windows

This commit is contained in:
Spencer Janssen
2007-04-05 21:58:32 +00:00
parent 24930dae04
commit 384a30b7ae

View File

@@ -125,14 +125,11 @@ moveWindowInside d w r = do
-- | manage. Add a new window to be managed in the current workspace. Bring it into focus.
-- If the window is already under management, it is just raised.
--
-- When we start to manage a window, it gains focus.
--
manage :: Window -> X ()
manage w = do
withDisplay $ \d -> io $ do
selectInput d w $ structureNotifyMask .|. enterWindowMask .|. propertyChangeMask
mapWindow d w
setFocus w
windows $ W.push w
-- | unmanage. A window no longer exists, remove it from the window