minor aesthetic changes

This commit is contained in:
daniel 2007-03-26 07:33:39 +00:00
parent 876417cfe8
commit 929d9c784a
2 changed files with 6 additions and 7 deletions

View File

@ -182,4 +182,3 @@ handle e@(ConfigureRequestEvent {window = w}) = do
io $ sync dpy False
handle e = trace (eventName e) -- ignoring

View File

@ -24,12 +24,12 @@ import qualified StackSet as W
-- screen and raises the window.
refresh :: X ()
refresh = do
ws <- gets workspace
ws2sc <- gets wsOnScreen
ws <- gets workspace
ws2sc <- gets wsOnScreen
xinesc <- gets xineScreens
d <- gets display
l <- gets layout
ratio <- gets leftWidth
d <- gets display
l <- gets layout
ratio <- gets leftWidth
let move w a b c e = io $ moveResizeWindow d w a b c e
flip mapM_ (M.assocs ws2sc) $ \(n, scn) -> do
let sc = xinesc !! scn
@ -165,7 +165,7 @@ tag o = do
-- | view. Change the current workspace to workspce at offset 'n-1'.
view :: Int -> X ()
view o = do
ws <- gets workspace
ws <- gets workspace
ws2sc <- gets wsOnScreen
let m = W.current ws
-- is the workspace we want to switch to currently visible?