- queryXTestSupport :: Display -> IO (Maybe (Int, Int, Int, Int))
- fakeMotion :: Display -> ScreenNumber -> Int -> Int -> IO ()
- fakeButtonPress :: Display -> Button -> IO ()
- movePointer :: Display -> ScreenNumber -> XID -> Int -> Int -> IO ()
- withGrabbedControl :: Display -> IO a -> IO a
- sendKey :: Display -> [KeySym] -> KeySym -> IO ()
Documentation
queryXTestSupport :: Display -> IO (Maybe (Int, Int, Int, Int))Source
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.
Create fake pointer motion event.
Create fake mouse button click event.
Move mouse pointer.
withGrabbedControl :: Display -> IO a -> IO aSource
Perform some IO actions while control grabbed by XTest