mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-15 20:13:47 -07:00
Wibble
This commit is contained in:
@@ -160,8 +160,7 @@ tileWindow d w r = do
|
||||
-- refresh the screen.
|
||||
rescreen :: X ()
|
||||
rescreen = do
|
||||
dpy <- asks display
|
||||
xinesc <- io $ getScreenInfo dpy
|
||||
xinesc <- withDisplay (io . getScreenInfo)
|
||||
-- TODO: This stuff is necessary because Xlib apparently caches screen
|
||||
-- width/height. Find a better solution later. I hate Xlib.
|
||||
let sx = maximum $ map (\r -> rect_x r + fromIntegral (rect_width r)) xinesc
|
||||
|
Reference in New Issue
Block a user