Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Graphics/X11/Xlib/Event.hsc
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ get_ConfigureEvent p = peekXConfigureEvent (castPtr p)

-- | Reads an event with a timeout (in microseconds).
-- Returns True if timeout occurs.
waitForEvent :: Display -> Word32 -> IO Bool
waitForEvent :: Display -> Word64 -> IO Bool
waitForEvent display usecs =
with (TimeVal (fromIntegral usecs `div` 1000000) (fromIntegral usecs `mod` 1000000)) $ \ tv_ptr ->
allocaBytes #{size fd_set} $ \ readfds ->
Expand Down
2 changes: 1 addition & 1 deletion X11.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: X11
version: 1.10.3.10
version: 1.11
synopsis: A binding to the X11 graphics library
description: A Haskell binding to the X11 graphics library. The binding is a direct
translation of the C binding; for documentation of these calls, refer
Expand Down