-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Thin FFI bindings to X11 XTest library
--
-- This package provides thin bindings for X11 XTest library. For more
-- info, see XTest documentation.
@package xtest
@version 0.2
module Graphics.X11.XTest
-- | Ask the X server if XTest extension is supported. Returns Nothing, if
-- extension is not supported. Otherwise, it returns:
--
--
-- - Event number for the first event for this extension (undefined for
-- current version of XTest).
-- - Error number for the first error for this extension (undefined for
-- current version of XTest).
-- - Major and
-- - minor versions of the extension.
--
queryXTestSupport :: Display -> IO (Maybe (Int, Int, Int, Int))
-- | Create fake pointer motion event.
fakeMotion :: Display -> ScreenNumber -> Int -> Int -> IO ()
-- | Create fake mouse button click event.
fakeButtonPress :: Display -> Button -> IO ()
-- | Move mouse pointer.
movePointer :: Display -> ScreenNumber -> XID -> Int -> Int -> IO ()
-- | Perform some IO actions while control grabbed by XTest
withGrabbedControl :: Display -> IO a -> IO a
-- | Send fake key press
sendKey :: Display -> [KeySym] -> KeySym -> IO ()