mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 12:41:53 -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
|
, theRoot = rootw
|
||||||
, wmdelete = wmdelt
|
, wmdelete = wmdelt
|
||||||
, wmprotocols = wmprot
|
, 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
|
, workspace = W.empty workspaces
|
||||||
, layoutDescs = M.empty
|
, layoutDescs = M.empty
|
||||||
, dispositions = M.empty
|
, dispositions = M.empty
|
||||||
|
Reference in New Issue
Block a user