2 * Thread safe wrappers around Xlib calls.
3 * This file was generated automatically by tools/make_X11wrappers
15 XFontStruct * TSXLoadQueryFont(Display* a0, const char* a1)
19 r = XLoadQueryFont(a0, a1);
24 XModifierKeymap * TSXGetModifierMapping(Display* a0)
28 r = XGetModifierMapping(a0);
33 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)
37 r = XCreateImage(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9);
42 XImage * TSXGetImage(Display* a0, Drawable a1, int a2, int a3, unsigned int a4, unsigned int a5, unsigned long a6, int a7)
46 r = XGetImage(a0, a1, a2, a3, a4, a5, a6, a7);
51 XImage * TSXGetSubImage(Display* a0, Drawable a1, int a2, int a3, unsigned int a4, unsigned int a5, unsigned long a6, int a7, XImage* a8, int a9, int a10)
55 r = XGetSubImage(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
60 Display * TSXOpenDisplay(const char* a0)
69 void TSXrmInitialize(void)
76 char * TSXGetAtomName(Display* a0, Atom a1)
80 r = XGetAtomName(a0, a1);
85 char * TSXKeysymToString(KeySym a0)
89 r = XKeysymToString(a0);
94 Atom TSXInternAtom(Display* a0, const char* a1, int a2)
98 r = XInternAtom(a0, a1, a2);
103 Colormap TSXCopyColormapAndFree(Display* a0, Colormap a1)
107 r = XCopyColormapAndFree(a0, a1);
112 Colormap TSXCreateColormap(Display* a0, Window a1, Visual* a2, int a3)
116 r = XCreateColormap(a0, a1, a2, a3);
121 Cursor TSXCreatePixmapCursor(Display* a0, Pixmap a1, Pixmap a2, XColor* a3, XColor* a4, unsigned int a5, unsigned int a6)
125 r = XCreatePixmapCursor(a0, a1, a2, a3, a4, a5, a6);
130 Cursor TSXCreateFontCursor(Display* a0, unsigned int a1)
134 r = XCreateFontCursor(a0, a1);
139 GC TSXCreateGC(Display* a0, Drawable a1, unsigned long a2, XGCValues* a3)
143 r = XCreateGC(a0, a1, a2, a3);
148 Pixmap TSXCreatePixmap(Display* a0, Drawable a1, unsigned int a2, unsigned int a3, unsigned int a4)
152 r = XCreatePixmap(a0, a1, a2, a3, a4);
157 Pixmap TSXCreateBitmapFromData(Display* a0, Drawable a1, const char* a2, unsigned int a3, unsigned int a4)
161 r = XCreateBitmapFromData(a0, a1, a2, a3, a4);
166 Window TSXGetSelectionOwner(Display* a0, Atom a1)
170 r = XGetSelectionOwner(a0, a1);
175 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)
179 r = XCreateWindow(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
184 char ** TSXListFonts(Display* a0, const char* a1, int a2, int* a3)
188 r = XListFonts(a0, a1, a2, a3);
193 KeySym TSXKeycodeToKeysym(Display* a0, unsigned int a1, int a2)
197 r = XKeycodeToKeysym(a0, a1, a2);
202 KeySym TSXLookupKeysym(XKeyEvent* a0, int a1)
206 r = XLookupKeysym(a0, a1);
211 KeySym * TSXGetKeyboardMapping(Display* a0, unsigned int a1, int a2, int* a3)
215 r = XGetKeyboardMapping(a0, a1, a2, a3);
220 char * TSXResourceManagerString(Display* a0)
224 r = XResourceManagerString(a0);
229 int TSXInitThreads(void)
238 XPixmapFormatValues * TSXListPixmapFormats(Display* a0, int* a1)
240 XPixmapFormatValues * r;
242 r = XListPixmapFormats(a0, a1);
247 int * TSXListDepths(Display* a0, int a1, int* a2)
251 r = XListDepths(a0, a1, a2);
256 int TSXReconfigureWMWindow(Display* a0, Window a1, int a2, unsigned int a3, XWindowChanges* a4)
260 r = XReconfigureWMWindow(a0, a1, a2, a3, a4);
265 int TSXSetWMProtocols(Display* a0, Window a1, Atom* a2, int a3)
269 r = XSetWMProtocols(a0, a1, a2, a3);
274 int TSXIconifyWindow(Display* a0, Window a1, int a2)
278 r = XIconifyWindow(a0, a1, a2);
283 int TSXSetTransientForHint(Display* a0, Window a1, Window a2)
287 r = XSetTransientForHint(a0, a1, a2);
292 int TSXActivateScreenSaver(Display* a0)
296 r = XActivateScreenSaver(a0);
301 int TSXAllocColor(Display* a0, Colormap a1, XColor* a2)
305 r = XAllocColor(a0, a1, a2);
310 int TSXAllocColorCells(Display* a0, Colormap a1, int a2, unsigned long* a3, unsigned int a4, unsigned long* a5, unsigned int a6)
314 r = XAllocColorCells(a0, a1, a2, a3, a4, a5, a6);
319 int TSXBell(Display* a0, int a1)
328 int TSXChangeGC(Display* a0, GC a1, unsigned long a2, XGCValues* a3)
332 r = XChangeGC(a0, a1, a2, a3);
337 int TSXChangeKeyboardControl(Display* a0, unsigned long a1, XKeyboardControl* a2)
341 r = XChangeKeyboardControl(a0, a1, a2);
346 int TSXChangeProperty(Display* a0, Window a1, Atom a2, Atom a3, int a4, int a5, const unsigned char* a6, int a7)
350 r = XChangeProperty(a0, a1, a2, a3, a4, a5, a6, a7);
355 int TSXChangeWindowAttributes(Display* a0, Window a1, unsigned long a2, XSetWindowAttributes* a3)
359 r = XChangeWindowAttributes(a0, a1, a2, a3);
364 int TSXCheckTypedEvent(Display* a0, int a1, XEvent* a2)
368 r = XCheckTypedEvent(a0, a1, a2);
373 int TSXCheckTypedWindowEvent(Display* a0, Window a1, int a2, XEvent* a3)
377 r = XCheckTypedWindowEvent(a0, a1, a2, a3);
382 int TSXCheckWindowEvent(Display* a0, Window a1, long a2, XEvent* a3)
386 r = XCheckWindowEvent(a0, a1, a2, a3);
391 int TSXConvertSelection(Display* a0, Atom a1, Atom a2, Atom a3, Window a4, Time a5)
395 r = XConvertSelection(a0, a1, a2, a3, a4, a5);
400 int TSXCopyArea(Display* a0, Drawable a1, Drawable a2, GC a3, int a4, int a5, unsigned int a6, unsigned int a7, int a8, int a9)
404 r = XCopyArea(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9);
409 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)
413 r = XCopyPlane(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
418 int TSXDefineCursor(Display* a0, Window a1, Cursor a2)
422 r = XDefineCursor(a0, a1, a2);
427 int TSXDeleteProperty(Display* a0, Window a1, Atom a2)
431 r = XDeleteProperty(a0, a1, a2);
436 int TSXDestroyWindow(Display* a0, Window a1)
440 r = XDestroyWindow(a0, a1);
445 int TSXDisplayKeycodes(Display* a0, int* a1, int* a2)
449 r = XDisplayKeycodes(a0, a1, a2);
454 int TSXDrawArc(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6, int a7, int a8)
458 r = XDrawArc(a0, a1, a2, a3, a4, a5, a6, a7, a8);
463 int TSXDrawLine(Display* a0, Drawable a1, GC a2, int a3, int a4, int a5, int a6)
467 r = XDrawLine(a0, a1, a2, a3, a4, a5, a6);
472 int TSXDrawLines(Display* a0, Drawable a1, GC a2, XPoint* a3, int a4, int a5)
476 r = XDrawLines(a0, a1, a2, a3, a4, a5);
481 int TSXDrawPoint(Display* a0, Drawable a1, GC a2, int a3, int a4)
485 r = XDrawPoint(a0, a1, a2, a3, a4);
490 int TSXDrawRectangle(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6)
494 r = XDrawRectangle(a0, a1, a2, a3, a4, a5, a6);
499 int TSXDrawSegments(Display* a0, Drawable a1, GC a2, XSegment* a3, int a4)
503 r = XDrawSegments(a0, a1, a2, a3, a4);
508 int TSXDrawString16(Display* a0, Drawable a1, GC a2, int a3, int a4, const XChar2b* a5, int a6)
512 r = XDrawString16(a0, a1, a2, a3, a4, a5, a6);
517 int TSXDrawText16(Display* a0, Drawable a1, GC a2, int a3, int a4, XTextItem16* a5, int a6)
521 r = XDrawText16(a0, a1, a2, a3, a4, a5, a6);
526 int TSXFillArc(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6, int a7, int a8)
530 r = XFillArc(a0, a1, a2, a3, a4, a5, a6, a7, a8);
535 int TSXFillPolygon(Display* a0, Drawable a1, GC a2, XPoint* a3, int a4, int a5, int a6)
539 r = XFillPolygon(a0, a1, a2, a3, a4, a5, a6);
544 int TSXFillRectangle(Display* a0, Drawable a1, GC a2, int a3, int a4, unsigned int a5, unsigned int a6)
548 r = XFillRectangle(a0, a1, a2, a3, a4, a5, a6);
553 int TSXFlush(Display* a0)
562 int TSXFree(void* a0)
571 int TSXFreeColormap(Display* a0, Colormap a1)
575 r = XFreeColormap(a0, a1);
580 int TSXFreeColors(Display* a0, Colormap a1, unsigned long* a2, int a3, unsigned long a4)
584 r = XFreeColors(a0, a1, a2, a3, a4);
589 int TSXFreeCursor(Display* a0, Cursor a1)
593 r = XFreeCursor(a0, a1);
598 int TSXFreeFont(Display* a0, XFontStruct* a1)
602 r = XFreeFont(a0, a1);
607 int TSXFreeFontNames(char** a0)
611 r = XFreeFontNames(a0);
616 int TSXFreeGC(Display* a0, GC a1)
625 int TSXFreeModifiermap(XModifierKeymap* a0)
629 r = XFreeModifiermap(a0);
634 int TSXFreePixmap(Display* a0, Pixmap a1)
638 r = XFreePixmap(a0, a1);
643 int TSXGetFontProperty(XFontStruct* a0, Atom a1, unsigned long* a2)
647 r = XGetFontProperty(a0, a1, a2);
652 int TSXGetGeometry(Display* a0, Drawable a1, Window* a2, int* a3, int* a4, unsigned int* a5, unsigned int* a6, unsigned int* a7, unsigned int* a8)
656 r = XGetGeometry(a0, a1, a2, a3, a4, a5, a6, a7, a8);
661 int TSXGetInputFocus(Display* a0, Window* a1, int* a2)
665 r = XGetInputFocus(a0, a1, a2);
670 int TSXGetKeyboardControl(Display* a0, XKeyboardState* a1)
674 r = XGetKeyboardControl(a0, a1);
679 int TSXGetScreenSaver(Display* a0, int* a1, int* a2, int* a3, int* a4)
683 r = XGetScreenSaver(a0, a1, a2, a3, a4);
688 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)
692 r = XGetWindowProperty(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
697 int TSXGetWindowAttributes(Display* a0, Window a1, XWindowAttributes* a2)
701 r = XGetWindowAttributes(a0, a1, a2);
706 int TSXGrabKeyboard(Display* a0, Window a1, int a2, int a3, int a4, Time a5)
710 r = XGrabKeyboard(a0, a1, a2, a3, a4, a5);
715 int TSXGrabPointer(Display* a0, Window a1, int a2, unsigned int a3, int a4, int a5, Window a6, Cursor a7, Time a8)
719 r = XGrabPointer(a0, a1, a2, a3, a4, a5, a6, a7, a8);
724 int TSXGrabServer(Display* a0)
733 int TSXInstallColormap(Display* a0, Colormap a1)
737 r = XInstallColormap(a0, a1);
742 KeyCode TSXKeysymToKeycode(Display* a0, KeySym a1)
746 r = XKeysymToKeycode(a0, a1);
751 int TSXMapWindow(Display* a0, Window a1)
755 r = XMapWindow(a0, a1);
760 int TSXNextEvent(Display* a0, XEvent* a1)
764 r = XNextEvent(a0, a1);
769 int TSXParseGeometry(const char* a0, int* a1, int* a2, unsigned int* a3, unsigned int* a4)
773 r = XParseGeometry(a0, a1, a2, a3, a4);
778 int TSXPending(Display* a0)
787 int TSXPutBackEvent(Display* a0, XEvent* a1)
791 r = XPutBackEvent(a0, a1);
796 int TSXPutImage(Display* a0, Drawable a1, GC a2, XImage* a3, int a4, int a5, int a6, int a7, unsigned int a8, unsigned int a9)
800 r = XPutImage(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9);
805 int TSXQueryColor(Display* a0, Colormap a1, XColor* a2)
809 r = XQueryColor(a0, a1, a2);
814 int TSXQueryColors(Display* a0, Colormap a1, XColor* a2, int a3)
818 r = XQueryColors(a0, a1, a2, a3);
823 int TSXQueryKeymap(Display* a0, char* a1)
827 r = XQueryKeymap(a0, a1);
832 int TSXQueryPointer(Display* a0, Window a1, Window* a2, Window* a3, int* a4, int* a5, int* a6, int* a7, unsigned int* a8)
836 r = XQueryPointer(a0, a1, a2, a3, a4, a5, a6, a7, a8);
841 int TSXQueryTree(Display* a0, Window a1, Window* a2, Window* a3, Window** a4, unsigned int* a5)
845 r = XQueryTree(a0, a1, a2, a3, a4, a5);
850 int TSXRefreshKeyboardMapping(XMappingEvent* a0)
854 r = XRefreshKeyboardMapping(a0);
859 int TSXResetScreenSaver(Display* a0)
863 r = XResetScreenSaver(a0);
868 int TSXRestackWindows(Display* a0, Window* a1, int a2)
872 r = XRestackWindows(a0, a1, a2);
877 int TSXSendEvent(Display* a0, Window a1, int a2, long a3, XEvent* a4)
881 r = XSendEvent(a0, a1, a2, a3, a4);
886 int TSXSetArcMode(Display* a0, GC a1, int a2)
890 r = XSetArcMode(a0, a1, a2);
895 int TSXSetBackground(Display* a0, GC a1, unsigned long a2)
899 r = XSetBackground(a0, a1, a2);
904 int TSXSetClipMask(Display* a0, GC a1, Pixmap a2)
908 r = XSetClipMask(a0, a1, a2);
913 int TSXSetClipOrigin(Display* a0, GC a1, int a2, int a3)
917 r = XSetClipOrigin(a0, a1, a2, a3);
922 int TSXSetClipRectangles(Display* a0, GC a1, int a2, int a3, XRectangle* a4, int a5, int a6)
926 r = XSetClipRectangles(a0, a1, a2, a3, a4, a5, a6);
931 int TSXSetDashes(Display* a0, GC a1, int a2, const char* a3, int a4)
935 r = XSetDashes(a0, a1, a2, a3, a4);
940 int TSXSetFillStyle(Display* a0, GC a1, int a2)
944 r = XSetFillStyle(a0, a1, a2);
949 int TSXSetFont(Display* a0, GC a1, Font a2)
953 r = XSetFont(a0, a1, a2);
958 int TSXSetForeground(Display* a0, GC a1, unsigned long a2)
962 r = XSetForeground(a0, a1, a2);
967 int TSXSetFunction(Display* a0, GC a1, int a2)
971 r = XSetFunction(a0, a1, a2);
976 int TSXSetGraphicsExposures(Display* a0, GC a1, int a2)
980 r = XSetGraphicsExposures(a0, a1, a2);
985 int TSXSetIconName(Display* a0, Window a1, const char* a2)
989 r = XSetIconName(a0, a1, a2);
994 int TSXSetInputFocus(Display* a0, Window a1, int a2, Time a3)
998 r = XSetInputFocus(a0, a1, a2, a3);
1003 int TSXSetLineAttributes(Display* a0, GC a1, unsigned int a2, int a3, int a4, int a5)
1007 r = XSetLineAttributes(a0, a1, a2, a3, a4, a5);
1008 wine_tsx11_unlock();
1012 int TSXSetScreenSaver(Display* a0, int a1, int a2, int a3, int a4)
1016 r = XSetScreenSaver(a0, a1, a2, a3, a4);
1017 wine_tsx11_unlock();
1021 int TSXSetSelectionOwner(Display* a0, Atom a1, Window a2, Time a3)
1025 r = XSetSelectionOwner(a0, a1, a2, a3);
1026 wine_tsx11_unlock();
1030 int TSXSetSubwindowMode(Display* a0, GC a1, int a2)
1034 r = XSetSubwindowMode(a0, a1, a2);
1035 wine_tsx11_unlock();
1039 int TSXSetWindowColormap(Display* a0, Window a1, Colormap a2)
1043 r = XSetWindowColormap(a0, a1, a2);
1044 wine_tsx11_unlock();
1048 int TSXStoreColor(Display* a0, Colormap a1, XColor* a2)
1052 r = XStoreColor(a0, a1, a2);
1053 wine_tsx11_unlock();
1057 int TSXStoreName(Display* a0, Window a1, const char* a2)
1061 r = XStoreName(a0, a1, a2);
1062 wine_tsx11_unlock();
1066 int TSXSync(Display* a0, int a1)
1071 wine_tsx11_unlock();
1075 int TSXTextExtents16(XFontStruct* a0, const XChar2b* a1, int a2, int* a3, int* a4, int* a5, XCharStruct* a6)
1079 r = XTextExtents16(a0, a1, a2, a3, a4, a5, a6);
1080 wine_tsx11_unlock();
1084 int TSXTextWidth16(XFontStruct* a0, const XChar2b* a1, int a2)
1088 r = XTextWidth16(a0, a1, a2);
1089 wine_tsx11_unlock();
1093 int TSXUngrabKeyboard(Display* a0, Time a1)
1097 r = XUngrabKeyboard(a0, a1);
1098 wine_tsx11_unlock();
1102 int TSXUngrabPointer(Display* a0, Time a1)
1106 r = XUngrabPointer(a0, a1);
1107 wine_tsx11_unlock();
1111 int TSXUngrabServer(Display* a0)
1115 r = XUngrabServer(a0);
1116 wine_tsx11_unlock();
1120 int TSXUninstallColormap(Display* a0, Colormap a1)
1124 r = XUninstallColormap(a0, a1);
1125 wine_tsx11_unlock();
1129 int TSXUnmapWindow(Display* a0, Window a1)
1133 r = XUnmapWindow(a0, a1);
1134 wine_tsx11_unlock();
1138 int TSXWarpPointer(Display* a0, Window a1, Window a2, int a3, int a4, unsigned int a5, unsigned int a6, int a7, int a8)
1142 r = XWarpPointer(a0, a1, a2, a3, a4, a5, a6, a7, a8);
1143 wine_tsx11_unlock();
1147 XIM TSXOpenIM(Display* a0, struct _XrmHashBucketRec* a1, char* a2, char* a3)
1151 r = XOpenIM(a0, a1, a2, a3);
1152 wine_tsx11_unlock();
1156 int (*TSXSynchronize(Display *a0, Bool a1))(Display *)
1158 int (*r)(Display *);
1160 r = XSynchronize(a0, a1);
1161 wine_tsx11_unlock();
1165 extern void _XInitImageFuncPtrs(XImage *);
1167 void TS_XInitImageFuncPtrs(XImage *a0)
1170 _XInitImageFuncPtrs(a0);
1171 wine_tsx11_unlock();