File indexing completed on 2025-03-13 09:29:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027 #ifndef _XTEST_H_
0028 #define _XTEST_H_
0029
0030 #include <X11/Xfuncproto.h>
0031 #include <X11/extensions/xtestconst.h>
0032 #include <X11/extensions/XInput.h>
0033
0034 _XFUNCPROTOBEGIN
0035
0036 Bool XTestQueryExtension(
0037 Display* ,
0038 int* ,
0039 int* ,
0040 int* ,
0041 int*
0042 );
0043
0044 Bool XTestCompareCursorWithWindow(
0045 Display* ,
0046 Window ,
0047 Cursor
0048 );
0049
0050 Bool XTestCompareCurrentCursorWithWindow(
0051 Display* ,
0052 Window
0053 );
0054
0055 extern int XTestFakeKeyEvent(
0056 Display* ,
0057 unsigned int ,
0058 Bool ,
0059 unsigned long
0060 );
0061
0062 extern int XTestFakeButtonEvent(
0063 Display* ,
0064 unsigned int ,
0065 Bool ,
0066 unsigned long
0067 );
0068
0069 extern int XTestFakeMotionEvent(
0070 Display* ,
0071 int ,
0072 int ,
0073 int ,
0074 unsigned long
0075 );
0076
0077 extern int XTestFakeRelativeMotionEvent(
0078 Display* ,
0079 int ,
0080 int ,
0081 unsigned long
0082 );
0083
0084 extern int XTestFakeDeviceKeyEvent(
0085 Display* ,
0086 XDevice* ,
0087 unsigned int ,
0088 Bool ,
0089 int* ,
0090 int ,
0091 unsigned long
0092 );
0093
0094 extern int XTestFakeDeviceButtonEvent(
0095 Display* ,
0096 XDevice* ,
0097 unsigned int ,
0098 Bool ,
0099 int* ,
0100 int ,
0101 unsigned long
0102 );
0103
0104 extern int XTestFakeProximityEvent(
0105 Display* ,
0106 XDevice* ,
0107 Bool ,
0108 int* ,
0109 int ,
0110 unsigned long
0111 );
0112
0113 extern int XTestFakeDeviceMotionEvent(
0114 Display* ,
0115 XDevice* ,
0116 Bool ,
0117 int ,
0118 int* ,
0119 int ,
0120 unsigned long
0121 );
0122
0123 extern int XTestGrabControl(
0124 Display* ,
0125 Bool
0126 );
0127
0128 void XTestSetGContextOfGC(
0129 GC ,
0130 GContext
0131 );
0132
0133 void XTestSetVisualIDOfVisual(
0134 Visual* ,
0135 VisualID
0136 );
0137
0138 Status XTestDiscard(
0139 Display*
0140 );
0141
0142 _XFUNCPROTOEND
0143
0144 #endif