2 * Thread safe wrappers around Xlib calls.
3 * This file was generated automatically by tools/make_X11wrappers
5 * Copyright 1998 Kristian Nielsen
13 XFontStruct * TSXLoadQueryFont(Display* a0, const char* a1)
16 dprintf_x11(stddeb, "Call XLoadQueryFont\n");
18 r = XLoadQueryFont(a0, a1);
20 dprintf_x11(stddeb, "Ret XLoadQueryFont\n");
24 XModifierKeymap * TSXGetModifierMapping(Display* a0)
27 dprintf_x11(stddeb, "Call XGetModifierMapping\n");
29 r = XGetModifierMapping(a0);
31 dprintf_x11(stddeb, "Ret XGetModifierMapping\n");
35 XImage * TSXCreateImage(Display* a0, Visual* a1, unsigned int a2, int a3, int a4, char* a5, unsigned int a6, unsigned int a7, int a8, int a9)
38 dprintf_x11(stddeb, "Call XCreateImage\n");
40 r = XCreateImage(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9);
42 dprintf_x11(stddeb, "Ret XCreateImage\n");
46 XImage * TSXGetImage(Display* a0, Drawable a1, int a2, int a3, unsigned int a4, unsigned int a5, unsigned long a6, int a7)
49 dprintf_x11(stddeb, "Call XGetImage\n");
51 r = XGetImage(a0, a1, a2, a3, a4, a5, a6, a7);
53 dprintf_x11(stddeb, "Ret XGetImage\n");
57 Display * TSXOpenDisplay(const char* a0)
60 dprintf_x11(stddeb, "Call XOpenDisplay\n");
64 dprintf_x11(stddeb, "Ret XOpenDisplay\n");
68 void TSXrmInitialize(void)
70 dprintf_x11(stddeb, "Call XrmInitialize\n");
74 dprintf_x11(stddeb, "Ret XrmInitialize\n");
77 char * TSXGetAtomName(Display* a0, Atom a1)
80 dprintf_x11(stddeb, "Call XGetAtomName\n");
82 r = XGetAtomName(a0, a1);
84 dprintf_x11(stddeb, "Ret XGetAtomName\n");
88 char * TSXKeysymToString(KeySym a0)
91 dprintf_x11(stddeb, "Call XKeysymToString\n");
93 r = XKeysymToString(a0);
95 dprintf_x11(stddeb, "Ret XKeysymToString\n");
99 Atom TSXInternAtom(Display* a0, const char* a1, int a2)
102 dprintf_x11(stddeb, "Call XInternAtom\n");
104 r = XInternAtom(a0, a1, a2);
106 dprintf_x11(stddeb, "Ret XInternAtom\n");
110 Colormap TSXCreateColormap(Display* a0, Window a1, Visual* a2, int a3)
113 dprintf_x11(stddeb, "Call XCreateColormap\n");
115 r = XCreateColormap(a0, a1, a2, a3);
117 dprintf_x11(stddeb, "Ret XCreateColormap\n");
121 Cursor TSXCreatePixmapCursor(Display* a0, Pixmap a1, Pixmap a2, XColor* a3, XColor* a4, unsigned int a5, unsigned int a6)
124 dprintf_x11(stddeb, "Call XCreatePixmapCursor\n");
126 r = XCreatePixmapCursor(a0, a1, a2, a3, a4, a5, a6);
128 dprintf_x11(stddeb, "Ret XCreatePixmapCursor\n");
132 Cursor TSXCreateFontCursor(Display* a0, unsigned int a1)
135 dprintf_x11(stddeb, "Call XCreateFontCursor\n");
137 r = XCreateFontCursor(a0, a1);
139 dprintf_x11(stddeb, "Ret XCreateFontCursor\n");
143 GC TSXCreateGC(Display* a0, Drawable a1, unsigned long a2, XGCValues* a3)
146 dprintf_x11(stddeb, "Call XCreateGC\n");
148 r = XCreateGC(a0, a1, a2, a3);
150 dprintf_x11(stddeb, "Ret XCreateGC\n");
154 Pixmap TSXCreatePixmap(Display* a0, Drawable a1, unsigned int a2, unsigned int a3, unsigned int a4)
157 dprintf_x11(stddeb, "Call XCreatePixmap\n");
159 r = XCreatePixmap(a0, a1, a2, a3, a4);
161 dprintf_x11(stddeb, "Ret XCreatePixmap\n");
165 Pixmap TSXCreateBitmapFromData(Display* a0, Drawable a1, const char* a2, unsigned int a3, unsigned int a4)
168 dprintf_x11(stddeb, "Call XCreateBitmapFromData\n");
170 r = XCreateBitmapFromData(a0, a1, a2, a3, a4);
172 dprintf_x11(stddeb, "Ret XCreateBitmapFromData\n");
176 Window TSXGetSelectionOwner(Display* a0, Atom a1)
179 dprintf_x11(stddeb, "Call XGetSelectionOwner\n");
181 r = XGetSelectionOwner(a0, a1);
183 dprintf_x11(stddeb, "Ret XGetSelectionOwner\n");
187 Window TSXCreateWindow(Display* a0, Window a1, int a2, int a3, unsigned int a4, unsigned int a5, unsigned int a6, int a7, unsigned int a8, Visual* a9, unsigned long a10, XSetWindowAttributes* a11)
190 dprintf_x11(stddeb, "Call XCreateWindow\n");
192 r = XCreateWindow(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
194 dprintf_x11(stddeb, "Ret XCreateWindow\n");
198 char ** TSXListFonts(Display* a0, const char* a1, int a2, int* a3)
201 dprintf_x11(stddeb, "Call XListFonts\n");
203 r = XListFonts(a0, a1, a2, a3);
205 dprintf_x11(stddeb, "Ret XListFonts\n");
209 KeySym TSXKeycodeToKeysym(Display* a0, unsigned int a1, int a2)
212 dprintf_x11(stddeb, "Call XKeycodeToKeysym\n");
214 r = XKeycodeToKeysym(a0, a1, a2);
216 dprintf_x11(stddeb, "Ret XKeycodeToKeysym\n");
220 KeySym TSXLookupKeysym(XKeyEvent* a0, int a1)
223 dprintf_x11(stddeb, "Call XLookupKeysym\n");
225 r = XLookupKeysym(a0, a1);
227 dprintf_x11(stddeb, "Ret XLookupKeysym\n");
231 KeySym * TSXGetKeyboardMapping(Display* a0, unsigned int a1, int a2, int* a3)
234 dprintf_x11(stddeb, "Call XGetKeyboardMapping\n");
236 r = XGetKeyboardMapping(a0, a1, a2, a3);
238 dprintf_x11(stddeb, "Ret XGetKeyboardMapping\n");
242 char * TSXResourceManagerString(Display* a0)
245 dprintf_x11(stddeb, "Call XResourceManagerString\n");
247 r = XResourceManagerString(a0);
249 dprintf_x11(stddeb, "Ret XResourceManagerString\n");
253 int TSXInitThreads(void)
256 dprintf_x11(stddeb, "Call XInitThreads\n");
260 dprintf_x11(stddeb, "Ret XInitThreads\n");
264 int * TSXListDepths(Display* a0, int a1, int* a2)
267 dprintf_x11(stddeb, "Call XListDepths\n");
269 r = XListDepths(a0, a1, a2);
271 dprintf_x11(stddeb, "Ret XListDepths\n");
275 int TSXReconfigureWMWindow(Display* a0, Window a1, int a2, unsigned int a3, XWindowChanges* a4)
278 dprintf_x11(stddeb, "Call XReconfigureWMWindow\n");
280 r = XReconfigureWMWindow(a0, a1, a2, a3, a4);
282 dprintf_x11(stddeb, "Ret XReconfigureWMWindow\n");
286 int TSXSetWMProtocols(Display* a0, Window a1, Atom* a2, int a3)
289 dprintf_x11(stddeb, "Call XSetWMProtocols\n");
291 r = XSetWMProtocols(a0, a1, a2, a3);
293 dprintf_x11(stddeb, "Ret XSetWMProtocols\n");
297 int TSXSetTransientForHint(Display* a0, Window a1, Window a2)
300 dprintf_x11(stddeb, "Call XSetTransientForHint\n");
302 r = XSetTransientForHint(a0, a1, a2);
304 dprintf_x11(stddeb, "Ret XSetTransientForHint\n");
308 int TSXActivateScreenSaver(Display* a0)
311 dprintf_x11(stddeb, "Call XActivateScreenSaver\n");
313 r = XActivateScreenSaver(a0);
315 dprintf_x11(stddeb, "Ret XActivateScreenSaver\n");
319 int TSXAllocColor(Display* a0, Colormap a1, XColor* a2)
322 dprintf_x11(stddeb, "Call XAllocColor\n");
324 r = XAllocColor(a0, a1, a2);
326 dprintf_x11(stddeb, "Ret XAllocColor\n");
330 int TSXAllocColorCells(Display* a0, Colormap a1, int a2, unsigned long* a3, unsigned int a4, unsigned long* a5, unsigned int a6)
333 dprintf_x11(stddeb, "Call XAllocColorCells\n");
335 r = XAllocColorCells(a0, a1, a2, a3, a4, a5, a6);
337 dprintf_x11(stddeb, "Ret XAllocColorCells\n");
341 int TSXBell(Display* a0, int a1)
344 dprintf_x11(stddeb, "Call XBell\n");
348 dprintf_x11(stddeb, "Ret XBell\n");
352 int TSXChangeGC(Display* a0, GC a1, unsigned long a2, XGCValues* a3)
355 dprintf_x11(stddeb, "Call XChangeGC\n");
357 r = XChangeGC(a0, a1, a2, a3);
359 dprintf_x11(stddeb, "Ret XChangeGC\n");
363 int TSXChangeKeyboardControl(Display* a0, unsigned long a1, XKeyboardControl* a2)
366 dprintf_x11(stddeb, "Call XChangeKeyboardControl\n");
368 r = XChangeKeyboardControl(a0, a1, a2);
370 dprintf_x11(stddeb, "Ret XChangeKeyboardControl\n");
374 int TSXChangeProperty(Display* a0, Window a1, Atom a2, Atom a3, int a4, int a5, const unsigned char* a6, int a7)
377 dprintf_x11(stddeb, "Call XChangeProperty\n");
379 r = XChangeProperty(a0, a1, a2, a3, a4, a5, a6, a7);
381 dprintf_x11(stddeb, "Ret XChangeProperty\n");
385 int TSXChangeWindowAttributes(Display* a0, Window a1, unsigned long a2, XSetWindowAttributes* a3)
388 dprintf_x11(stddeb, "Call XChangeWindowAttributes\n");
390 r = XChangeWindowAttributes(a0, a1, a2, a3);
392 dprintf_x11(stddeb, "Ret XChangeWindowAttributes\n");
396 int TSXCheckTypedWindowEvent(Display* a0, Window a1, int a2, XEvent* a3)
399 dprintf_x11(stddeb, "Call XCheckTypedWindowEvent\n");
401 r = XCheckTypedWindowEvent(a0, a1, a2, a3);
403 dprintf_x11(stddeb, "Ret XCheckTypedWindowEvent\n");
407 int TSXCheckWindowEvent(Display* a0, Window a1, long a2, XEvent* a3)
410 dprintf_x11(stddeb, "Call XCheckWindowEvent\n");
412 r = XCheckWindowEvent(a0, a1, a2, a3);
414 dprintf_x11(stddeb, "Ret XCheckWindowEvent\n");
418 int TSXConvertSelection(Display* a0, Atom a1, Atom a2, Atom a3, Window a4, Time a5)
421 dprintf_x11(stddeb, "Call XConvertSelection\n");
423 r = XConvertSelection(a0, a1, a2, a3, a4, a5);
425 dprintf_x11(stddeb, "Ret XConvertSelection\n");
429 int TSXCopyArea(Display* a0, Drawable a1, Drawable a2, GC a3, int a4, int a5, unsigned int a6, unsigned int a7, int a8, int a9)
432 dprintf_x11(stddeb, "Call XCopyArea\n");
434 r = XCopyArea(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9);
436 dprintf_x11(stddeb, "Ret XCopyArea\n");
440 int TSXCopyPlane(Display* a0, Drawable a1, Drawable a2, GC a3, int a4, int a5, unsigned int a6, unsigned int a7, int a8, int a9, unsigned long a10)
443 dprintf_x11(stddeb, "Call XCopyPlane\n");
445 r = XCopyPlane(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
447 dprintf_x11(stddeb, "Ret XCopyPlane\n");
451 int TSXDefineCursor(Display* a0, Window a1, Cursor a2)
454 dprintf_x11(stddeb, "Call XDefineCursor\n");
456 r = XDefineCursor(a0, a1, a2);
458 dprintf_x11(stddeb, "Ret XDefineCursor\n");
462 int TSXDestroyWindow(Display* a0, Window a1)
465 dprintf_x11(stddeb, "Call XDestroyWindow\n");
467 r = XDestroyWindow(a0, a1);
469 dprintf_x11(stddeb, "Ret XDestroyWindow\n");
473 int TSXDisplayKeycodes(Display* a0, int* a1, int* a2)
476 dprintf_x11(stddeb, "Call XDisplayKeycodes\n");
478 r = XDisplayKeycodes(a0, a1, a2);
480 dprintf_x11(stddeb, "Ret XDisplayKeycodes\n");
484 int TSXDrawArc(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6, int a7, int a8)
487 dprintf_x11(stddeb, "Call XDrawArc\n");
489 r = XDrawArc(a0, a1, a2, a3, a4, a5, a6, a7, a8);
491 dprintf_x11(stddeb, "Ret XDrawArc\n");
495 int TSXDrawLine(Display* a0, Drawable a1, GC a2, int a3, int a4, int a5, int a6)
498 dprintf_x11(stddeb, "Call XDrawLine\n");
500 r = XDrawLine(a0, a1, a2, a3, a4, a5, a6);
502 dprintf_x11(stddeb, "Ret XDrawLine\n");
506 int TSXDrawLines(Display* a0, Drawable a1, GC a2, XPoint* a3, int a4, int a5)
509 dprintf_x11(stddeb, "Call XDrawLines\n");
511 r = XDrawLines(a0, a1, a2, a3, a4, a5);
513 dprintf_x11(stddeb, "Ret XDrawLines\n");
517 int TSXDrawPoint(Display* a0, Drawable a1, GC a2, int a3, int a4)
520 dprintf_x11(stddeb, "Call XDrawPoint\n");
522 r = XDrawPoint(a0, a1, a2, a3, a4);
524 dprintf_x11(stddeb, "Ret XDrawPoint\n");
528 int TSXDrawRectangle(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6)
531 dprintf_x11(stddeb, "Call XDrawRectangle\n");
533 r = XDrawRectangle(a0, a1, a2, a3, a4, a5, a6);
535 dprintf_x11(stddeb, "Ret XDrawRectangle\n");
539 int TSXDrawSegments(Display* a0, Drawable a1, GC a2, XSegment* a3, int a4)
542 dprintf_x11(stddeb, "Call XDrawSegments\n");
544 r = XDrawSegments(a0, a1, a2, a3, a4);
546 dprintf_x11(stddeb, "Ret XDrawSegments\n");
550 int TSXDrawString(Display* a0, Drawable a1, GC a2, int a3, int a4, const char* a5, int a6)
553 dprintf_x11(stddeb, "Call XDrawString\n");
555 r = XDrawString(a0, a1, a2, a3, a4, a5, a6);
557 dprintf_x11(stddeb, "Ret XDrawString\n");
561 int TSXDrawText(Display* a0, Drawable a1, GC a2, int a3, int a4, XTextItem* a5, int a6)
564 dprintf_x11(stddeb, "Call XDrawText\n");
566 r = XDrawText(a0, a1, a2, a3, a4, a5, a6);
568 dprintf_x11(stddeb, "Ret XDrawText\n");
572 int TSXFillArc(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6, int a7, int a8)
575 dprintf_x11(stddeb, "Call XFillArc\n");
577 r = XFillArc(a0, a1, a2, a3, a4, a5, a6, a7, a8);
579 dprintf_x11(stddeb, "Ret XFillArc\n");
583 int TSXFillPolygon(Display* a0, Drawable a1, GC a2, XPoint* a3, int a4, int a5, int a6)
586 dprintf_x11(stddeb, "Call XFillPolygon\n");
588 r = XFillPolygon(a0, a1, a2, a3, a4, a5, a6);
590 dprintf_x11(stddeb, "Ret XFillPolygon\n");
594 int TSXFillRectangle(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6)
597 dprintf_x11(stddeb, "Call XFillRectangle\n");
599 r = XFillRectangle(a0, a1, a2, a3, a4, a5, a6);
601 dprintf_x11(stddeb, "Ret XFillRectangle\n");
605 int TSXFlush(Display* a0)
608 dprintf_x11(stddeb, "Call XFlush\n");
612 dprintf_x11(stddeb, "Ret XFlush\n");
616 int TSXFree(void* a0)
619 dprintf_x11(stddeb, "Call XFree\n");
623 dprintf_x11(stddeb, "Ret XFree\n");
627 int TSXFreeColors(Display* a0, Colormap a1, unsigned long* a2, int a3, unsigned long a4)
630 dprintf_x11(stddeb, "Call XFreeColors\n");
632 r = XFreeColors(a0, a1, a2, a3, a4);
634 dprintf_x11(stddeb, "Ret XFreeColors\n");
638 int TSXFreeCursor(Display* a0, Cursor a1)
641 dprintf_x11(stddeb, "Call XFreeCursor\n");
643 r = XFreeCursor(a0, a1);
645 dprintf_x11(stddeb, "Ret XFreeCursor\n");
649 int TSXFreeFont(Display* a0, XFontStruct* a1)
652 dprintf_x11(stddeb, "Call XFreeFont\n");
654 r = XFreeFont(a0, a1);
656 dprintf_x11(stddeb, "Ret XFreeFont\n");
660 int TSXFreeFontNames(char** a0)
663 dprintf_x11(stddeb, "Call XFreeFontNames\n");
665 r = XFreeFontNames(a0);
667 dprintf_x11(stddeb, "Ret XFreeFontNames\n");
671 int TSXFreeGC(Display* a0, GC a1)
674 dprintf_x11(stddeb, "Call XFreeGC\n");
678 dprintf_x11(stddeb, "Ret XFreeGC\n");
682 int TSXFreeModifiermap(XModifierKeymap* a0)
685 dprintf_x11(stddeb, "Call XFreeModifiermap\n");
687 r = XFreeModifiermap(a0);
689 dprintf_x11(stddeb, "Ret XFreeModifiermap\n");
693 int TSXFreePixmap(Display* a0, Pixmap a1)
696 dprintf_x11(stddeb, "Call XFreePixmap\n");
698 r = XFreePixmap(a0, a1);
700 dprintf_x11(stddeb, "Ret XFreePixmap\n");
704 int TSXGetFontProperty(XFontStruct* a0, Atom a1, unsigned long* a2)
707 dprintf_x11(stddeb, "Call XGetFontProperty\n");
709 r = XGetFontProperty(a0, a1, a2);
711 dprintf_x11(stddeb, "Ret XGetFontProperty\n");
715 int TSXGetGeometry(Display* a0, Drawable a1, Window* a2, int* a3, int* a4, unsigned int* a5, unsigned int* a6, unsigned int* a7, unsigned int* a8)
718 dprintf_x11(stddeb, "Call XGetGeometry\n");
720 r = XGetGeometry(a0, a1, a2, a3, a4, a5, a6, a7, a8);
722 dprintf_x11(stddeb, "Ret XGetGeometry\n");
726 int TSXGetInputFocus(Display* a0, Window* a1, int* a2)
729 dprintf_x11(stddeb, "Call XGetInputFocus\n");
731 r = XGetInputFocus(a0, a1, a2);
733 dprintf_x11(stddeb, "Ret XGetInputFocus\n");
737 int TSXGetKeyboardControl(Display* a0, XKeyboardState* a1)
740 dprintf_x11(stddeb, "Call XGetKeyboardControl\n");
742 r = XGetKeyboardControl(a0, a1);
744 dprintf_x11(stddeb, "Ret XGetKeyboardControl\n");
748 int TSXGetScreenSaver(Display* a0, int* a1, int* a2, int* a3, int* a4)
751 dprintf_x11(stddeb, "Call XGetScreenSaver\n");
753 r = XGetScreenSaver(a0, a1, a2, a3, a4);
755 dprintf_x11(stddeb, "Ret XGetScreenSaver\n");
759 int TSXGetWindowProperty(Display* a0, Window a1, Atom a2, long a3, long a4, int a5, Atom a6, Atom* a7, int* a8, unsigned long* a9, unsigned long* a10, unsigned char** a11)
762 dprintf_x11(stddeb, "Call XGetWindowProperty\n");
764 r = XGetWindowProperty(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
766 dprintf_x11(stddeb, "Ret XGetWindowProperty\n");
770 int TSXGetWindowAttributes(Display* a0, Window a1, XWindowAttributes* a2)
773 dprintf_x11(stddeb, "Call XGetWindowAttributes\n");
775 r = XGetWindowAttributes(a0, a1, a2);
777 dprintf_x11(stddeb, "Ret XGetWindowAttributes\n");
781 int TSXGrabPointer(Display* a0, Window a1, int a2, unsigned int a3, int a4, int a5, Window a6, Cursor a7, Time a8)
784 dprintf_x11(stddeb, "Call XGrabPointer\n");
786 r = XGrabPointer(a0, a1, a2, a3, a4, a5, a6, a7, a8);
788 dprintf_x11(stddeb, "Ret XGrabPointer\n");
792 int TSXGrabServer(Display* a0)
795 dprintf_x11(stddeb, "Call XGrabServer\n");
799 dprintf_x11(stddeb, "Ret XGrabServer\n");
803 int TSXInstallColormap(Display* a0, Colormap a1)
806 dprintf_x11(stddeb, "Call XInstallColormap\n");
808 r = XInstallColormap(a0, a1);
810 dprintf_x11(stddeb, "Ret XInstallColormap\n");
814 KeyCode TSXKeysymToKeycode(Display* a0, KeySym a1)
817 dprintf_x11(stddeb, "Call XKeysymToKeycode\n");
819 r = XKeysymToKeycode(a0, a1);
821 dprintf_x11(stddeb, "Ret XKeysymToKeycode\n");
825 int TSXMapWindow(Display* a0, Window a1)
828 dprintf_x11(stddeb, "Call XMapWindow\n");
830 r = XMapWindow(a0, a1);
832 dprintf_x11(stddeb, "Ret XMapWindow\n");
836 int TSXNextEvent(Display* a0, XEvent* a1)
839 dprintf_x11(stddeb, "Call XNextEvent\n");
841 r = XNextEvent(a0, a1);
843 dprintf_x11(stddeb, "Ret XNextEvent\n");
847 int TSXParseGeometry(const char* a0, int* a1, int* a2, unsigned int* a3, unsigned int* a4)
850 dprintf_x11(stddeb, "Call XParseGeometry\n");
852 r = XParseGeometry(a0, a1, a2, a3, a4);
854 dprintf_x11(stddeb, "Ret XParseGeometry\n");
858 int TSXPending(Display* a0)
861 dprintf_x11(stddeb, "Call XPending\n");
865 dprintf_x11(stddeb, "Ret XPending\n");
869 int TSXPutBackEvent(Display* a0, XEvent* a1)
872 dprintf_x11(stddeb, "Call XPutBackEvent\n");
874 r = XPutBackEvent(a0, a1);
876 dprintf_x11(stddeb, "Ret XPutBackEvent\n");
880 int TSXPutImage(Display* a0, Drawable a1, GC a2, XImage* a3, int a4, int a5, int a6, int a7, unsigned int a8, unsigned int a9)
883 dprintf_x11(stddeb, "Call XPutImage\n");
885 r = XPutImage(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9);
887 dprintf_x11(stddeb, "Ret XPutImage\n");
891 int TSXQueryColor(Display* a0, Colormap a1, XColor* a2)
894 dprintf_x11(stddeb, "Call XQueryColor\n");
896 r = XQueryColor(a0, a1, a2);
898 dprintf_x11(stddeb, "Ret XQueryColor\n");
902 int TSXQueryPointer(Display* a0, Window a1, Window* a2, Window* a3, int* a4, int* a5, int* a6, int* a7, unsigned int* a8)
905 dprintf_x11(stddeb, "Call XQueryPointer\n");
907 r = XQueryPointer(a0, a1, a2, a3, a4, a5, a6, a7, a8);
909 dprintf_x11(stddeb, "Ret XQueryPointer\n");
913 int TSXQueryTree(Display* a0, Window a1, Window* a2, Window* a3, Window** a4, unsigned int* a5)
916 dprintf_x11(stddeb, "Call XQueryTree\n");
918 r = XQueryTree(a0, a1, a2, a3, a4, a5);
920 dprintf_x11(stddeb, "Ret XQueryTree\n");
924 int TSXResetScreenSaver(Display* a0)
927 dprintf_x11(stddeb, "Call XResetScreenSaver\n");
929 r = XResetScreenSaver(a0);
931 dprintf_x11(stddeb, "Ret XResetScreenSaver\n");
935 int TSXRestackWindows(Display* a0, Window* a1, int a2)
938 dprintf_x11(stddeb, "Call XRestackWindows\n");
940 r = XRestackWindows(a0, a1, a2);
942 dprintf_x11(stddeb, "Ret XRestackWindows\n");
946 int TSXSendEvent(Display* a0, Window a1, int a2, long a3, XEvent* a4)
949 dprintf_x11(stddeb, "Call XSendEvent\n");
951 r = XSendEvent(a0, a1, a2, a3, a4);
953 dprintf_x11(stddeb, "Ret XSendEvent\n");
957 int TSXSetArcMode(Display* a0, GC a1, int a2)
960 dprintf_x11(stddeb, "Call XSetArcMode\n");
962 r = XSetArcMode(a0, a1, a2);
964 dprintf_x11(stddeb, "Ret XSetArcMode\n");
968 int TSXSetBackground(Display* a0, GC a1, unsigned long a2)
971 dprintf_x11(stddeb, "Call XSetBackground\n");
973 r = XSetBackground(a0, a1, a2);
975 dprintf_x11(stddeb, "Ret XSetBackground\n");
979 int TSXSetClipMask(Display* a0, GC a1, Pixmap a2)
982 dprintf_x11(stddeb, "Call XSetClipMask\n");
984 r = XSetClipMask(a0, a1, a2);
986 dprintf_x11(stddeb, "Ret XSetClipMask\n");
990 int TSXSetClipOrigin(Display* a0, GC a1, int a2, int a3)
993 dprintf_x11(stddeb, "Call XSetClipOrigin\n");
995 r = XSetClipOrigin(a0, a1, a2, a3);
997 dprintf_x11(stddeb, "Ret XSetClipOrigin\n");
1001 int TSXSetClipRectangles(Display* a0, GC a1, int a2, int a3, XRectangle* a4, int a5, int a6)
1004 dprintf_x11(stddeb, "Call XSetClipRectangles\n");
1006 r = XSetClipRectangles(a0, a1, a2, a3, a4, a5, a6);
1008 dprintf_x11(stddeb, "Ret XSetClipRectangles\n");
1012 int TSXSetDashes(Display* a0, GC a1, int a2, const char* a3, int a4)
1015 dprintf_x11(stddeb, "Call XSetDashes\n");
1017 r = XSetDashes(a0, a1, a2, a3, a4);
1019 dprintf_x11(stddeb, "Ret XSetDashes\n");
1023 int TSXSetFillStyle(Display* a0, GC a1, int a2)
1026 dprintf_x11(stddeb, "Call XSetFillStyle\n");
1028 r = XSetFillStyle(a0, a1, a2);
1030 dprintf_x11(stddeb, "Ret XSetFillStyle\n");
1034 int TSXSetForeground(Display* a0, GC a1, unsigned long a2)
1037 dprintf_x11(stddeb, "Call XSetForeground\n");
1039 r = XSetForeground(a0, a1, a2);
1041 dprintf_x11(stddeb, "Ret XSetForeground\n");
1045 int TSXSetFunction(Display* a0, GC a1, int a2)
1048 dprintf_x11(stddeb, "Call XSetFunction\n");
1050 r = XSetFunction(a0, a1, a2);
1052 dprintf_x11(stddeb, "Ret XSetFunction\n");
1056 int TSXSetGraphicsExposures(Display* a0, GC a1, int a2)
1059 dprintf_x11(stddeb, "Call XSetGraphicsExposures\n");
1061 r = XSetGraphicsExposures(a0, a1, a2);
1063 dprintf_x11(stddeb, "Ret XSetGraphicsExposures\n");
1067 int TSXSetIconName(Display* a0, Window a1, const char* a2)
1070 dprintf_x11(stddeb, "Call XSetIconName\n");
1072 r = XSetIconName(a0, a1, a2);
1074 dprintf_x11(stddeb, "Ret XSetIconName\n");
1078 int TSXSetInputFocus(Display* a0, Window a1, int a2, Time a3)
1081 dprintf_x11(stddeb, "Call XSetInputFocus\n");
1083 r = XSetInputFocus(a0, a1, a2, a3);
1085 dprintf_x11(stddeb, "Ret XSetInputFocus\n");
1089 int TSXSetLineAttributes(Display* a0, GC a1, unsigned int a2, int a3, int a4, int a5)
1092 dprintf_x11(stddeb, "Call XSetLineAttributes\n");
1094 r = XSetLineAttributes(a0, a1, a2, a3, a4, a5);
1096 dprintf_x11(stddeb, "Ret XSetLineAttributes\n");
1100 int TSXSetScreenSaver(Display* a0, int a1, int a2, int a3, int a4)
1103 dprintf_x11(stddeb, "Call XSetScreenSaver\n");
1105 r = XSetScreenSaver(a0, a1, a2, a3, a4);
1107 dprintf_x11(stddeb, "Ret XSetScreenSaver\n");
1111 int TSXSetSelectionOwner(Display* a0, Atom a1, Window a2, Time a3)
1114 dprintf_x11(stddeb, "Call XSetSelectionOwner\n");
1116 r = XSetSelectionOwner(a0, a1, a2, a3);
1118 dprintf_x11(stddeb, "Ret XSetSelectionOwner\n");
1122 int TSXSetSubwindowMode(Display* a0, GC a1, int a2)
1125 dprintf_x11(stddeb, "Call XSetSubwindowMode\n");
1127 r = XSetSubwindowMode(a0, a1, a2);
1129 dprintf_x11(stddeb, "Ret XSetSubwindowMode\n");
1133 int TSXStoreColor(Display* a0, Colormap a1, XColor* a2)
1136 dprintf_x11(stddeb, "Call XStoreColor\n");
1138 r = XStoreColor(a0, a1, a2);
1140 dprintf_x11(stddeb, "Ret XStoreColor\n");
1144 int TSXStoreName(Display* a0, Window a1, const char* a2)
1147 dprintf_x11(stddeb, "Call XStoreName\n");
1149 r = XStoreName(a0, a1, a2);
1151 dprintf_x11(stddeb, "Ret XStoreName\n");
1155 int TSXSync(Display* a0, int a1)
1158 dprintf_x11(stddeb, "Call XSync\n");
1162 dprintf_x11(stddeb, "Ret XSync\n");
1166 int TSXTextExtents(XFontStruct* a0, const char* a1, int a2, int* a3, int* a4, int* a5, XCharStruct* a6)
1169 dprintf_x11(stddeb, "Call XTextExtents\n");
1171 r = XTextExtents(a0, a1, a2, a3, a4, a5, a6);
1173 dprintf_x11(stddeb, "Ret XTextExtents\n");
1177 int TSXTextWidth(XFontStruct* a0, const char* a1, int a2)
1180 dprintf_x11(stddeb, "Call XTextWidth\n");
1182 r = XTextWidth(a0, a1, a2);
1184 dprintf_x11(stddeb, "Ret XTextWidth\n");
1188 int TSXUngrabPointer(Display* a0, Time a1)
1191 dprintf_x11(stddeb, "Call XUngrabPointer\n");
1193 r = XUngrabPointer(a0, a1);
1195 dprintf_x11(stddeb, "Ret XUngrabPointer\n");
1199 int TSXUngrabServer(Display* a0)
1202 dprintf_x11(stddeb, "Call XUngrabServer\n");
1204 r = XUngrabServer(a0);
1206 dprintf_x11(stddeb, "Ret XUngrabServer\n");
1210 int TSXUninstallColormap(Display* a0, Colormap a1)
1213 dprintf_x11(stddeb, "Call XUninstallColormap\n");
1215 r = XUninstallColormap(a0, a1);
1217 dprintf_x11(stddeb, "Ret XUninstallColormap\n");
1221 int TSXUnmapWindow(Display* a0, Window a1)
1224 dprintf_x11(stddeb, "Call XUnmapWindow\n");
1226 r = XUnmapWindow(a0, a1);
1228 dprintf_x11(stddeb, "Ret XUnmapWindow\n");
1232 int TSXWarpPointer(Display* a0, Window a1, Window a2, int a3, int a4, unsigned int a5, unsigned int a6, int a7, int a8)
1235 dprintf_x11(stddeb, "Call XWarpPointer\n");
1237 r = XWarpPointer(a0, a1, a2, a3, a4, a5, a6, a7, a8);
1239 dprintf_x11(stddeb, "Ret XWarpPointer\n");
1243 int (*TSXSynchronize(Display *a0, Bool a1))(Display *)
1245 int (*r)(Display *);
1246 dprintf_x11(stddeb, "Call XSynchronize\n");
1248 r = XSynchronize(a0, a1);
1250 dprintf_x11(stddeb, "Ret XSynchronize\n");
1254 extern void _XInitImageFuncPtrs(XImage *);
1256 void TS_XInitImageFuncPtrs(XImage *a0)
1258 dprintf_x11(stddeb, "Call _XInitImageFuncPtrs\n");
1260 _XInitImageFuncPtrs(a0);
1262 dprintf_x11(stddeb, "Ret _XInitImageFuncPtrs\n");