Fix type error in dimensions field of XState record for 64-bit systems

Fallout from Int->CInt conversion.
This commit is contained in:
Alec Berryman
2007-04-01 14:42:29 +00:00
parent b4076c2ac2
commit b3fc66b15b

View File

@@ -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