mirror of
https://github.com/xmonad/xmonad.git
synced 2025-07-31 20:21:52 -07:00
Fix type error in dimensions field of XState record for 64-bit systems
Fallout from Int->CInt conversion.
This commit is contained in:
4
Main.hs
4
Main.hs
@@ -48,7 +48,9 @@ main = do
|
||||
, theRoot = rootw
|
||||
, wmdelete = wmdelt
|
||||
, wmprotocols = wmprot
|
||||
, dimensions = (displayWidth dpy dflt, displayHeight dpy dflt)
|
||||
-- fromIntegral needed for X11 versions that use Int instead of CInt.
|
||||
, dimensions = (fromIntegral (displayWidth dpy dflt),
|
||||
fromIntegral (displayHeight dpy dflt))
|
||||
, workspace = W.empty workspaces
|
||||
, layoutDescs = M.empty
|
||||
, dispositions = M.empty
|
||||
|
Reference in New Issue
Block a user