diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-06-04 08:17:19 +0200 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2007-06-04 08:17:19 +0200 |
commit | 27b3728fe3be336de84aaa32ede083f409f8ac75 (patch) | |
tree | cefef701b3c3b55cf527fdbd7243f08552bbda97 | |
parent | f40c1f96c2f6c0e6934c404df9779dc542272411 (diff) | |
download | xmonad-27b3728fe3be336de84aaa32ede083f409f8ac75.tar.gz xmonad-27b3728fe3be336de84aaa32ede083f409f8ac75.tar.xz xmonad-27b3728fe3be336de84aaa32ede083f409f8ac75.zip |
Delete stale comments
darcs-hash:20070604061719-a5988-a1084b152584632c8f896423f8a03d8fe297b2d4.gz
-rw-r--r-- | Operations.hs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Operations.hs b/Operations.hs index 5ef3f08..59f3f7e 100644 --- a/Operations.hs +++ b/Operations.hs @@ -265,12 +265,7 @@ setTopFocus = withWindowSet $ maybe (setFocusX =<< asks theRoot) setFocusX . W.p focus :: Window -> X () focus w = withWindowSet $ \s -> do if W.member w s then modify (\st -> st { windowset = W.focusWindow w s }) >> refresh - else whenX (isRoot w) $ setFocusX w -- we could refresh here, moving gap too. - -- XXX a focus change could be caused by switching workspaces in xinerama. - -- if so, and the gap is in use, the gap should probably follow the - -- cursor to the new screen. - -- - -- to get the gap though, you need to trigger a refresh. + else whenX (isRoot w) $ setFocusX w -- | Call X to set the keyboard focus details. setFocusX :: Window -> X () |