2 * Thread safe wrappers around Xutil calls.
3 * This file was generated automatically by tools/make_X11wrappers
11 #include <X11/Xresource.h>
12 #include <X11/Xutil.h>
17 XClassHint * TSXAllocClassHint(void)
21 r = XAllocClassHint();
26 XSizeHints * TSXAllocSizeHints(void)
30 r = XAllocSizeHints();
35 XWMHints * TSXAllocWMHints(void)
44 int TSXClipBox(Region a0, XRectangle* a1)
53 Region TSXCreateRegion(void)
62 int TSXDeleteContext(Display* a0, XID a1, XContext a2)
66 r = XDeleteContext(a0, a1, a2);
71 int TSXDestroyRegion(Region a0)
75 r = XDestroyRegion(a0);
80 int TSXEmptyRegion(Region a0)
89 int TSXEqualRegion(Region a0, Region a1)
93 r = XEqualRegion(a0, a1);
98 int TSXFindContext(Display* a0, XID a1, XContext a2, XPointer* a3)
102 r = XFindContext(a0, a1, a2, a3);
107 XVisualInfo * TSXGetVisualInfo(Display* a0, long a1, XVisualInfo* a2, int* a3)
111 r = XGetVisualInfo(a0, a1, a2, a3);
116 XWMHints * TSXGetWMHints(Display* a0, Window a1)
120 r = XGetWMHints(a0, a1);
125 int TSXGetWMSizeHints(Display* a0, Window a1, XSizeHints* a2, long* a3, Atom a4)
129 r = XGetWMSizeHints(a0, a1, a2, a3, a4);
134 int TSXIntersectRegion(Region a0, Region a1, Region a2)
138 r = XIntersectRegion(a0, a1, a2);
143 int TSXLookupString(XKeyEvent* a0, char* a1, int a2, KeySym* a3, XComposeStatus* a4)
147 r = XLookupString(a0, a1, a2, a3, a4);
152 int TSXOffsetRegion(Region a0, int a1, int a2)
156 r = XOffsetRegion(a0, a1, a2);
161 int TSXPointInRegion(Region a0, int a1, int a2)
165 r = XPointInRegion(a0, a1, a2);
170 Region TSXPolygonRegion(XPoint* a0, int a1, int a2)
174 r = XPolygonRegion(a0, a1, a2);
179 int TSXRectInRegion(Region a0, int a1, int a2, unsigned int a3, unsigned int a4)
183 r = XRectInRegion(a0, a1, a2, a3, a4);
188 int TSXSaveContext(Display* a0, XID a1, XContext a2, const char* a3)
192 r = XSaveContext(a0, a1, a2, a3);
197 int TSXSetClassHint(Display* a0, Window a1, XClassHint* a2)
201 r = XSetClassHint(a0, a1, a2);
206 int TSXSetWMHints(Display* a0, Window a1, XWMHints* a2)
210 r = XSetWMHints(a0, a1, a2);
215 void TSXSetWMProperties(Display* a0, Window a1, XTextProperty* a2, XTextProperty* a3, char** a4, int a5, XSizeHints* a6, XWMHints* a7, XClassHint* a8)
218 XSetWMProperties(a0, a1, a2, a3, a4, a5, a6, a7, a8);
222 void TSXSetWMSizeHints(Display* a0, Window a1, XSizeHints* a2, Atom a3)
225 XSetWMSizeHints(a0, a1, a2, a3);
229 int TSXSetRegion(Display* a0, GC a1, Region a2)
233 r = XSetRegion(a0, a1, a2);
238 int TSXShrinkRegion(Region a0, int a1, int a2)
242 r = XShrinkRegion(a0, a1, a2);
247 int TSXStringListToTextProperty(char** a0, int a1, XTextProperty* a2)
251 r = XStringListToTextProperty(a0, a1, a2);
256 int TSXSubtractRegion(Region a0, Region a1, Region a2)
260 r = XSubtractRegion(a0, a1, a2);
265 int TSXUnionRectWithRegion(XRectangle* a0, Region a1, Region a2)
269 r = XUnionRectWithRegion(a0, a1, a2);
274 int TSXUnionRegion(Region a0, Region a1, Region a2)
278 r = XUnionRegion(a0, a1, a2);
283 int TSXXorRegion(Region a0, Region a1, Region a2)
287 r = XXorRegion(a0, a1, a2);
292 int TSXDestroyImage(struct _XImage *a0)
296 r = XDestroyImage(a0);
301 struct _XImage * TSXSubImage(struct _XImage *a0, int a1, int a2, unsigned int a3, unsigned int a4)
305 r = XSubImage(a0, a1, a2, a3, a4);
310 int TSXAddPixel(struct _XImage *a0, long a1)
314 r = XAddPixel(a0, a1);
319 XContext TSXUniqueContext(void)
323 r = XUniqueContext();