Common Lisp Package: XTEST

README:

FUNCTION

Public

FAKE-BUTTON-EVENT (DISPLAY BUTTON PRESSED &KEY (DELAY 0))

Send a fake button event (button pressed or released) to the server. Most of the time, button 1 is the left one, 2 the middle and 3 the right one but it's not always the case.

FAKE-KEY-EVENT (DISPLAY KEYCODE PRESSED &KEY (DELAY 0))

Send a fake key event (key pressed or released) to the server based on its keycode.

FAKE-MOTION-EVENT (DISPLAY X Y &KEY (DELAY 0) RELATIVE (ROOT-WINDOW-ID 0))

Move the mouse pointer at coordinates (x, y). If :relative is t, the movement is relative to the pointer's current position

GET-VERSION (DISPLAY &OPTIONAL (MAJOR +MAJOR-VERSION+) (MINOR +MINOR-VERSION+))

Returns the major and minor version of the server's XTest implementation

GRAB-CONTROL (DISPLAY GRAB?)

Make the client grab the server, that is allow it to make requests even when another client grabs the server.

Undocumented

COMPARE-CURSOR (DISPLAY WINDOW &OPTIONAL (CURSOR-ID +CURRENT-CURSOR+))

SET-GC-CONTEXT-OF-GC (GCONTEXT GCONTEXT-ID)

Private

WINDOW-ID (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

MAKE-CURSOR (&KEY ((ID DUM1028) 0) ((DISPLAY DUM1029) NIL))

SETFWINDOW-ID (NEW-VALUE INSTANCE)

MACRO

Private

Undocumented

CARD16-GET (INDEX)

CARD32-GET (INDEX)

CARD8-GET (INDEX)

DEFINE-EXTENSION (NAME &KEY EVENTS ERRORS)

EXTENSION-OPCODE (DISPLAY NAME)

OPCODE (DISPLAY)

WITH-BUFFER-REQUEST ((BUFFER OPCODE &REST OPTIONS &KEY INLINE GC-FORCE &ALLOW-OTHER-KEYS) &BODY TYPE-ARGS &ENVIRONMENT ENV)

WITH-BUFFER-REQUEST-AND-REPLY ((BUFFER OPCODE REPLY-SIZE &KEY SIZES MULTIPLE-REPLY INLINE) TYPE-ARGS &BODY REPLY-FORMS &ENVIRONMENT ENV)

CLASS

Private

Undocumented

CURSOR

DISPLAY

GCONTEXT

CONSTANT

Public

Undocumented

+MAJOR-VERSION+

+MINOR-VERSION+

Private

Undocumented

+COMPARE-CURSOR+

+CURRENT-CURSOR+

+FAKE-BUTTON-PRESS+

+FAKE-BUTTON-RELEASE+

+FAKE-INPUT+

+FAKE-KEY-PRESS+

+FAKE-KEY-RELEASE+

+FAKE-MOTION-NOTIFY+

+GET-VERSION+

+GRAB-CONTROL+

+NONE+