2 * Thread safe wrappers around Xlib calls.
3 * This file was generated automatically by tools/make_X11wrappers
9 #ifndef X_DISPLAY_MISSING
16 XFontStruct
* TSXLoadQueryFont(Display
* a0
, const char* a1
)
19 TRACE(x11
, "Call XLoadQueryFont\n");
20 EnterCriticalSection( &X11DRV_CritSection
);
21 r
= XLoadQueryFont(a0
, a1
);
22 LeaveCriticalSection( &X11DRV_CritSection
);
23 TRACE(x11
, "Ret XLoadQueryFont\n");
27 XModifierKeymap
* TSXGetModifierMapping(Display
* a0
)
30 TRACE(x11
, "Call XGetModifierMapping\n");
31 EnterCriticalSection( &X11DRV_CritSection
);
32 r
= XGetModifierMapping(a0
);
33 LeaveCriticalSection( &X11DRV_CritSection
);
34 TRACE(x11
, "Ret XGetModifierMapping\n");
38 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
)
41 TRACE(x11
, "Call XCreateImage\n");
42 EnterCriticalSection( &X11DRV_CritSection
);
43 r
= XCreateImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
);
44 LeaveCriticalSection( &X11DRV_CritSection
);
45 TRACE(x11
, "Ret XCreateImage\n");
49 XImage
* TSXGetImage(Display
* a0
, Drawable a1
, int a2
, int a3
, unsigned int a4
, unsigned int a5
, unsigned long a6
, int a7
)
52 TRACE(x11
, "Call XGetImage\n");
53 EnterCriticalSection( &X11DRV_CritSection
);
54 r
= XGetImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
);
55 LeaveCriticalSection( &X11DRV_CritSection
);
56 TRACE(x11
, "Ret XGetImage\n");
60 Display
* TSXOpenDisplay(const char* a0
)
63 TRACE(x11
, "Call XOpenDisplay\n");
64 EnterCriticalSection( &X11DRV_CritSection
);
66 LeaveCriticalSection( &X11DRV_CritSection
);
67 TRACE(x11
, "Ret XOpenDisplay\n");
71 void TSXrmInitialize(void)
73 TRACE(x11
, "Call XrmInitialize\n");
74 EnterCriticalSection( &X11DRV_CritSection
);
76 LeaveCriticalSection( &X11DRV_CritSection
);
77 TRACE(x11
, "Ret XrmInitialize\n");
80 char * TSXGetAtomName(Display
* a0
, Atom a1
)
83 TRACE(x11
, "Call XGetAtomName\n");
84 EnterCriticalSection( &X11DRV_CritSection
);
85 r
= XGetAtomName(a0
, a1
);
86 LeaveCriticalSection( &X11DRV_CritSection
);
87 TRACE(x11
, "Ret XGetAtomName\n");
91 char * TSXKeysymToString(KeySym a0
)
94 TRACE(x11
, "Call XKeysymToString\n");
95 EnterCriticalSection( &X11DRV_CritSection
);
96 r
= XKeysymToString(a0
);
97 LeaveCriticalSection( &X11DRV_CritSection
);
98 TRACE(x11
, "Ret XKeysymToString\n");
102 Atom
TSXInternAtom(Display
* a0
, const char* a1
, int a2
)
105 TRACE(x11
, "Call XInternAtom\n");
106 EnterCriticalSection( &X11DRV_CritSection
);
107 r
= XInternAtom(a0
, a1
, a2
);
108 LeaveCriticalSection( &X11DRV_CritSection
);
109 TRACE(x11
, "Ret XInternAtom\n");
113 Colormap
TSXCopyColormapAndFree(Display
* a0
, Colormap a1
)
116 TRACE(x11
, "Call XCopyColormapAndFree\n");
117 EnterCriticalSection( &X11DRV_CritSection
);
118 r
= XCopyColormapAndFree(a0
, a1
);
119 LeaveCriticalSection( &X11DRV_CritSection
);
120 TRACE(x11
, "Ret XCopyColormapAndFree\n");
124 Colormap
TSXCreateColormap(Display
* a0
, Window a1
, Visual
* a2
, int a3
)
127 TRACE(x11
, "Call XCreateColormap\n");
128 EnterCriticalSection( &X11DRV_CritSection
);
129 r
= XCreateColormap(a0
, a1
, a2
, a3
);
130 LeaveCriticalSection( &X11DRV_CritSection
);
131 TRACE(x11
, "Ret XCreateColormap\n");
135 Cursor
TSXCreatePixmapCursor(Display
* a0
, Pixmap a1
, Pixmap a2
, XColor
* a3
, XColor
* a4
, unsigned int a5
, unsigned int a6
)
138 TRACE(x11
, "Call XCreatePixmapCursor\n");
139 EnterCriticalSection( &X11DRV_CritSection
);
140 r
= XCreatePixmapCursor(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
141 LeaveCriticalSection( &X11DRV_CritSection
);
142 TRACE(x11
, "Ret XCreatePixmapCursor\n");
146 Cursor
TSXCreateFontCursor(Display
* a0
, unsigned int a1
)
149 TRACE(x11
, "Call XCreateFontCursor\n");
150 EnterCriticalSection( &X11DRV_CritSection
);
151 r
= XCreateFontCursor(a0
, a1
);
152 LeaveCriticalSection( &X11DRV_CritSection
);
153 TRACE(x11
, "Ret XCreateFontCursor\n");
157 GC
TSXCreateGC(Display
* a0
, Drawable a1
, unsigned long a2
, XGCValues
* a3
)
160 TRACE(x11
, "Call XCreateGC\n");
161 EnterCriticalSection( &X11DRV_CritSection
);
162 r
= XCreateGC(a0
, a1
, a2
, a3
);
163 LeaveCriticalSection( &X11DRV_CritSection
);
164 TRACE(x11
, "Ret XCreateGC\n");
168 Pixmap
TSXCreatePixmap(Display
* a0
, Drawable a1
, unsigned int a2
, unsigned int a3
, unsigned int a4
)
171 TRACE(x11
, "Call XCreatePixmap\n");
172 EnterCriticalSection( &X11DRV_CritSection
);
173 r
= XCreatePixmap(a0
, a1
, a2
, a3
, a4
);
174 LeaveCriticalSection( &X11DRV_CritSection
);
175 TRACE(x11
, "Ret XCreatePixmap\n");
179 Pixmap
TSXCreateBitmapFromData(Display
* a0
, Drawable a1
, const char* a2
, unsigned int a3
, unsigned int a4
)
182 TRACE(x11
, "Call XCreateBitmapFromData\n");
183 EnterCriticalSection( &X11DRV_CritSection
);
184 r
= XCreateBitmapFromData(a0
, a1
, a2
, a3
, a4
);
185 LeaveCriticalSection( &X11DRV_CritSection
);
186 TRACE(x11
, "Ret XCreateBitmapFromData\n");
190 Window
TSXGetSelectionOwner(Display
* a0
, Atom a1
)
193 TRACE(x11
, "Call XGetSelectionOwner\n");
194 EnterCriticalSection( &X11DRV_CritSection
);
195 r
= XGetSelectionOwner(a0
, a1
);
196 LeaveCriticalSection( &X11DRV_CritSection
);
197 TRACE(x11
, "Ret XGetSelectionOwner\n");
201 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
)
204 TRACE(x11
, "Call XCreateWindow\n");
205 EnterCriticalSection( &X11DRV_CritSection
);
206 r
= XCreateWindow(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
, a11
);
207 LeaveCriticalSection( &X11DRV_CritSection
);
208 TRACE(x11
, "Ret XCreateWindow\n");
212 char ** TSXListFonts(Display
* a0
, const char* a1
, int a2
, int* a3
)
215 TRACE(x11
, "Call XListFonts\n");
216 EnterCriticalSection( &X11DRV_CritSection
);
217 r
= XListFonts(a0
, a1
, a2
, a3
);
218 LeaveCriticalSection( &X11DRV_CritSection
);
219 TRACE(x11
, "Ret XListFonts\n");
223 KeySym
TSXKeycodeToKeysym(Display
* a0
, unsigned int a1
, int a2
)
226 TRACE(x11
, "Call XKeycodeToKeysym\n");
227 EnterCriticalSection( &X11DRV_CritSection
);
228 r
= XKeycodeToKeysym(a0
, a1
, a2
);
229 LeaveCriticalSection( &X11DRV_CritSection
);
230 TRACE(x11
, "Ret XKeycodeToKeysym\n");
234 KeySym
TSXLookupKeysym(XKeyEvent
* a0
, int a1
)
237 TRACE(x11
, "Call XLookupKeysym\n");
238 EnterCriticalSection( &X11DRV_CritSection
);
239 r
= XLookupKeysym(a0
, a1
);
240 LeaveCriticalSection( &X11DRV_CritSection
);
241 TRACE(x11
, "Ret XLookupKeysym\n");
245 KeySym
* TSXGetKeyboardMapping(Display
* a0
, unsigned int a1
, int a2
, int* a3
)
248 TRACE(x11
, "Call XGetKeyboardMapping\n");
249 EnterCriticalSection( &X11DRV_CritSection
);
250 r
= XGetKeyboardMapping(a0
, a1
, a2
, a3
);
251 LeaveCriticalSection( &X11DRV_CritSection
);
252 TRACE(x11
, "Ret XGetKeyboardMapping\n");
256 char * TSXResourceManagerString(Display
* a0
)
259 TRACE(x11
, "Call XResourceManagerString\n");
260 EnterCriticalSection( &X11DRV_CritSection
);
261 r
= XResourceManagerString(a0
);
262 LeaveCriticalSection( &X11DRV_CritSection
);
263 TRACE(x11
, "Ret XResourceManagerString\n");
267 int TSXInitThreads(void)
270 TRACE(x11
, "Call XInitThreads\n");
271 EnterCriticalSection( &X11DRV_CritSection
);
273 LeaveCriticalSection( &X11DRV_CritSection
);
274 TRACE(x11
, "Ret XInitThreads\n");
278 int * TSXListDepths(Display
* a0
, int a1
, int* a2
)
281 TRACE(x11
, "Call XListDepths\n");
282 EnterCriticalSection( &X11DRV_CritSection
);
283 r
= XListDepths(a0
, a1
, a2
);
284 LeaveCriticalSection( &X11DRV_CritSection
);
285 TRACE(x11
, "Ret XListDepths\n");
289 int TSXReconfigureWMWindow(Display
* a0
, Window a1
, int a2
, unsigned int a3
, XWindowChanges
* a4
)
292 TRACE(x11
, "Call XReconfigureWMWindow\n");
293 EnterCriticalSection( &X11DRV_CritSection
);
294 r
= XReconfigureWMWindow(a0
, a1
, a2
, a3
, a4
);
295 LeaveCriticalSection( &X11DRV_CritSection
);
296 TRACE(x11
, "Ret XReconfigureWMWindow\n");
300 int TSXSetWMProtocols(Display
* a0
, Window a1
, Atom
* a2
, int a3
)
303 TRACE(x11
, "Call XSetWMProtocols\n");
304 EnterCriticalSection( &X11DRV_CritSection
);
305 r
= XSetWMProtocols(a0
, a1
, a2
, a3
);
306 LeaveCriticalSection( &X11DRV_CritSection
);
307 TRACE(x11
, "Ret XSetWMProtocols\n");
311 int TSXSetTransientForHint(Display
* a0
, Window a1
, Window a2
)
314 TRACE(x11
, "Call XSetTransientForHint\n");
315 EnterCriticalSection( &X11DRV_CritSection
);
316 r
= XSetTransientForHint(a0
, a1
, a2
);
317 LeaveCriticalSection( &X11DRV_CritSection
);
318 TRACE(x11
, "Ret XSetTransientForHint\n");
322 int TSXActivateScreenSaver(Display
* a0
)
325 TRACE(x11
, "Call XActivateScreenSaver\n");
326 EnterCriticalSection( &X11DRV_CritSection
);
327 r
= XActivateScreenSaver(a0
);
328 LeaveCriticalSection( &X11DRV_CritSection
);
329 TRACE(x11
, "Ret XActivateScreenSaver\n");
333 int TSXAllocColor(Display
* a0
, Colormap a1
, XColor
* a2
)
336 TRACE(x11
, "Call XAllocColor\n");
337 EnterCriticalSection( &X11DRV_CritSection
);
338 r
= XAllocColor(a0
, a1
, a2
);
339 LeaveCriticalSection( &X11DRV_CritSection
);
340 TRACE(x11
, "Ret XAllocColor\n");
344 int TSXAllocColorCells(Display
* a0
, Colormap a1
, int a2
, unsigned long* a3
, unsigned int a4
, unsigned long* a5
, unsigned int a6
)
347 TRACE(x11
, "Call XAllocColorCells\n");
348 EnterCriticalSection( &X11DRV_CritSection
);
349 r
= XAllocColorCells(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
350 LeaveCriticalSection( &X11DRV_CritSection
);
351 TRACE(x11
, "Ret XAllocColorCells\n");
355 int TSXBell(Display
* a0
, int a1
)
358 TRACE(x11
, "Call XBell\n");
359 EnterCriticalSection( &X11DRV_CritSection
);
361 LeaveCriticalSection( &X11DRV_CritSection
);
362 TRACE(x11
, "Ret XBell\n");
366 int TSXChangeGC(Display
* a0
, GC a1
, unsigned long a2
, XGCValues
* a3
)
369 TRACE(x11
, "Call XChangeGC\n");
370 EnterCriticalSection( &X11DRV_CritSection
);
371 r
= XChangeGC(a0
, a1
, a2
, a3
);
372 LeaveCriticalSection( &X11DRV_CritSection
);
373 TRACE(x11
, "Ret XChangeGC\n");
377 int TSXChangeKeyboardControl(Display
* a0
, unsigned long a1
, XKeyboardControl
* a2
)
380 TRACE(x11
, "Call XChangeKeyboardControl\n");
381 EnterCriticalSection( &X11DRV_CritSection
);
382 r
= XChangeKeyboardControl(a0
, a1
, a2
);
383 LeaveCriticalSection( &X11DRV_CritSection
);
384 TRACE(x11
, "Ret XChangeKeyboardControl\n");
388 int TSXChangeProperty(Display
* a0
, Window a1
, Atom a2
, Atom a3
, int a4
, int a5
, const unsigned char* a6
, int a7
)
391 TRACE(x11
, "Call XChangeProperty\n");
392 EnterCriticalSection( &X11DRV_CritSection
);
393 r
= XChangeProperty(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
);
394 LeaveCriticalSection( &X11DRV_CritSection
);
395 TRACE(x11
, "Ret XChangeProperty\n");
399 int TSXChangeWindowAttributes(Display
* a0
, Window a1
, unsigned long a2
, XSetWindowAttributes
* a3
)
402 TRACE(x11
, "Call XChangeWindowAttributes\n");
403 EnterCriticalSection( &X11DRV_CritSection
);
404 r
= XChangeWindowAttributes(a0
, a1
, a2
, a3
);
405 LeaveCriticalSection( &X11DRV_CritSection
);
406 TRACE(x11
, "Ret XChangeWindowAttributes\n");
410 int TSXCheckTypedWindowEvent(Display
* a0
, Window a1
, int a2
, XEvent
* a3
)
413 TRACE(x11
, "Call XCheckTypedWindowEvent\n");
414 EnterCriticalSection( &X11DRV_CritSection
);
415 r
= XCheckTypedWindowEvent(a0
, a1
, a2
, a3
);
416 LeaveCriticalSection( &X11DRV_CritSection
);
417 TRACE(x11
, "Ret XCheckTypedWindowEvent\n");
421 int TSXCheckWindowEvent(Display
* a0
, Window a1
, long a2
, XEvent
* a3
)
424 TRACE(x11
, "Call XCheckWindowEvent\n");
425 EnterCriticalSection( &X11DRV_CritSection
);
426 r
= XCheckWindowEvent(a0
, a1
, a2
, a3
);
427 LeaveCriticalSection( &X11DRV_CritSection
);
428 TRACE(x11
, "Ret XCheckWindowEvent\n");
432 int TSXConvertSelection(Display
* a0
, Atom a1
, Atom a2
, Atom a3
, Window a4
, Time a5
)
435 TRACE(x11
, "Call XConvertSelection\n");
436 EnterCriticalSection( &X11DRV_CritSection
);
437 r
= XConvertSelection(a0
, a1
, a2
, a3
, a4
, a5
);
438 LeaveCriticalSection( &X11DRV_CritSection
);
439 TRACE(x11
, "Ret XConvertSelection\n");
443 int TSXCopyArea(Display
* a0
, Drawable a1
, Drawable a2
, GC a3
, int a4
, int a5
, unsigned int a6
, unsigned int a7
, int a8
, int a9
)
446 TRACE(x11
, "Call XCopyArea\n");
447 EnterCriticalSection( &X11DRV_CritSection
);
448 r
= XCopyArea(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
);
449 LeaveCriticalSection( &X11DRV_CritSection
);
450 TRACE(x11
, "Ret XCopyArea\n");
454 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
)
457 TRACE(x11
, "Call XCopyPlane\n");
458 EnterCriticalSection( &X11DRV_CritSection
);
459 r
= XCopyPlane(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
);
460 LeaveCriticalSection( &X11DRV_CritSection
);
461 TRACE(x11
, "Ret XCopyPlane\n");
465 int TSXDefineCursor(Display
* a0
, Window a1
, Cursor a2
)
468 TRACE(x11
, "Call XDefineCursor\n");
469 EnterCriticalSection( &X11DRV_CritSection
);
470 r
= XDefineCursor(a0
, a1
, a2
);
471 LeaveCriticalSection( &X11DRV_CritSection
);
472 TRACE(x11
, "Ret XDefineCursor\n");
476 int TSXDestroyWindow(Display
* a0
, Window a1
)
479 TRACE(x11
, "Call XDestroyWindow\n");
480 EnterCriticalSection( &X11DRV_CritSection
);
481 r
= XDestroyWindow(a0
, a1
);
482 LeaveCriticalSection( &X11DRV_CritSection
);
483 TRACE(x11
, "Ret XDestroyWindow\n");
487 int TSXDisplayKeycodes(Display
* a0
, int* a1
, int* a2
)
490 TRACE(x11
, "Call XDisplayKeycodes\n");
491 EnterCriticalSection( &X11DRV_CritSection
);
492 r
= XDisplayKeycodes(a0
, a1
, a2
);
493 LeaveCriticalSection( &X11DRV_CritSection
);
494 TRACE(x11
, "Ret XDisplayKeycodes\n");
498 int TSXDrawArc(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
, int a7
, int a8
)
501 TRACE(x11
, "Call XDrawArc\n");
502 EnterCriticalSection( &X11DRV_CritSection
);
503 r
= XDrawArc(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
504 LeaveCriticalSection( &X11DRV_CritSection
);
505 TRACE(x11
, "Ret XDrawArc\n");
509 int TSXDrawLine(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, int a5
, int a6
)
512 TRACE(x11
, "Call XDrawLine\n");
513 EnterCriticalSection( &X11DRV_CritSection
);
514 r
= XDrawLine(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
515 LeaveCriticalSection( &X11DRV_CritSection
);
516 TRACE(x11
, "Ret XDrawLine\n");
520 int TSXDrawLines(Display
* a0
, Drawable a1
, GC a2
, XPoint
* a3
, int a4
, int a5
)
523 TRACE(x11
, "Call XDrawLines\n");
524 EnterCriticalSection( &X11DRV_CritSection
);
525 r
= XDrawLines(a0
, a1
, a2
, a3
, a4
, a5
);
526 LeaveCriticalSection( &X11DRV_CritSection
);
527 TRACE(x11
, "Ret XDrawLines\n");
531 int TSXDrawPoint(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
)
534 TRACE(x11
, "Call XDrawPoint\n");
535 EnterCriticalSection( &X11DRV_CritSection
);
536 r
= XDrawPoint(a0
, a1
, a2
, a3
, a4
);
537 LeaveCriticalSection( &X11DRV_CritSection
);
538 TRACE(x11
, "Ret XDrawPoint\n");
542 int TSXDrawRectangle(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
)
545 TRACE(x11
, "Call XDrawRectangle\n");
546 EnterCriticalSection( &X11DRV_CritSection
);
547 r
= XDrawRectangle(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
548 LeaveCriticalSection( &X11DRV_CritSection
);
549 TRACE(x11
, "Ret XDrawRectangle\n");
553 int TSXDrawSegments(Display
* a0
, Drawable a1
, GC a2
, XSegment
* a3
, int a4
)
556 TRACE(x11
, "Call XDrawSegments\n");
557 EnterCriticalSection( &X11DRV_CritSection
);
558 r
= XDrawSegments(a0
, a1
, a2
, a3
, a4
);
559 LeaveCriticalSection( &X11DRV_CritSection
);
560 TRACE(x11
, "Ret XDrawSegments\n");
564 int TSXDrawString(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, const char* a5
, int a6
)
567 TRACE(x11
, "Call XDrawString\n");
568 EnterCriticalSection( &X11DRV_CritSection
);
569 r
= XDrawString(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
570 LeaveCriticalSection( &X11DRV_CritSection
);
571 TRACE(x11
, "Ret XDrawString\n");
575 int TSXDrawText(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, XTextItem
* a5
, int a6
)
578 TRACE(x11
, "Call XDrawText\n");
579 EnterCriticalSection( &X11DRV_CritSection
);
580 r
= XDrawText(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
581 LeaveCriticalSection( &X11DRV_CritSection
);
582 TRACE(x11
, "Ret XDrawText\n");
586 int TSXFillArc(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
, int a7
, int a8
)
589 TRACE(x11
, "Call XFillArc\n");
590 EnterCriticalSection( &X11DRV_CritSection
);
591 r
= XFillArc(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
592 LeaveCriticalSection( &X11DRV_CritSection
);
593 TRACE(x11
, "Ret XFillArc\n");
597 int TSXFillPolygon(Display
* a0
, Drawable a1
, GC a2
, XPoint
* a3
, int a4
, int a5
, int a6
)
600 TRACE(x11
, "Call XFillPolygon\n");
601 EnterCriticalSection( &X11DRV_CritSection
);
602 r
= XFillPolygon(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
603 LeaveCriticalSection( &X11DRV_CritSection
);
604 TRACE(x11
, "Ret XFillPolygon\n");
608 int TSXFillRectangle(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
)
611 TRACE(x11
, "Call XFillRectangle\n");
612 EnterCriticalSection( &X11DRV_CritSection
);
613 r
= XFillRectangle(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
614 LeaveCriticalSection( &X11DRV_CritSection
);
615 TRACE(x11
, "Ret XFillRectangle\n");
619 int TSXFlush(Display
* a0
)
622 TRACE(x11
, "Call XFlush\n");
623 EnterCriticalSection( &X11DRV_CritSection
);
625 LeaveCriticalSection( &X11DRV_CritSection
);
626 TRACE(x11
, "Ret XFlush\n");
630 int TSXFree(void* a0
)
633 TRACE(x11
, "Call XFree\n");
634 EnterCriticalSection( &X11DRV_CritSection
);
636 LeaveCriticalSection( &X11DRV_CritSection
);
637 TRACE(x11
, "Ret XFree\n");
641 int TSXFreeColormap(Display
* a0
, Colormap a1
)
644 TRACE(x11
, "Call XFreeColormap\n");
645 EnterCriticalSection( &X11DRV_CritSection
);
646 r
= XFreeColormap(a0
, a1
);
647 LeaveCriticalSection( &X11DRV_CritSection
);
648 TRACE(x11
, "Ret XFreeColormap\n");
652 int TSXFreeColors(Display
* a0
, Colormap a1
, unsigned long* a2
, int a3
, unsigned long a4
)
655 TRACE(x11
, "Call XFreeColors\n");
656 EnterCriticalSection( &X11DRV_CritSection
);
657 r
= XFreeColors(a0
, a1
, a2
, a3
, a4
);
658 LeaveCriticalSection( &X11DRV_CritSection
);
659 TRACE(x11
, "Ret XFreeColors\n");
663 int TSXFreeCursor(Display
* a0
, Cursor a1
)
666 TRACE(x11
, "Call XFreeCursor\n");
667 EnterCriticalSection( &X11DRV_CritSection
);
668 r
= XFreeCursor(a0
, a1
);
669 LeaveCriticalSection( &X11DRV_CritSection
);
670 TRACE(x11
, "Ret XFreeCursor\n");
674 int TSXFreeFont(Display
* a0
, XFontStruct
* a1
)
677 TRACE(x11
, "Call XFreeFont\n");
678 EnterCriticalSection( &X11DRV_CritSection
);
679 r
= XFreeFont(a0
, a1
);
680 LeaveCriticalSection( &X11DRV_CritSection
);
681 TRACE(x11
, "Ret XFreeFont\n");
685 int TSXFreeFontNames(char** a0
)
688 TRACE(x11
, "Call XFreeFontNames\n");
689 EnterCriticalSection( &X11DRV_CritSection
);
690 r
= XFreeFontNames(a0
);
691 LeaveCriticalSection( &X11DRV_CritSection
);
692 TRACE(x11
, "Ret XFreeFontNames\n");
696 int TSXFreeGC(Display
* a0
, GC a1
)
699 TRACE(x11
, "Call XFreeGC\n");
700 EnterCriticalSection( &X11DRV_CritSection
);
702 LeaveCriticalSection( &X11DRV_CritSection
);
703 TRACE(x11
, "Ret XFreeGC\n");
707 int TSXFreeModifiermap(XModifierKeymap
* a0
)
710 TRACE(x11
, "Call XFreeModifiermap\n");
711 EnterCriticalSection( &X11DRV_CritSection
);
712 r
= XFreeModifiermap(a0
);
713 LeaveCriticalSection( &X11DRV_CritSection
);
714 TRACE(x11
, "Ret XFreeModifiermap\n");
718 int TSXFreePixmap(Display
* a0
, Pixmap a1
)
721 TRACE(x11
, "Call XFreePixmap\n");
722 EnterCriticalSection( &X11DRV_CritSection
);
723 r
= XFreePixmap(a0
, a1
);
724 LeaveCriticalSection( &X11DRV_CritSection
);
725 TRACE(x11
, "Ret XFreePixmap\n");
729 int TSXGetFontProperty(XFontStruct
* a0
, Atom a1
, unsigned long* a2
)
732 TRACE(x11
, "Call XGetFontProperty\n");
733 EnterCriticalSection( &X11DRV_CritSection
);
734 r
= XGetFontProperty(a0
, a1
, a2
);
735 LeaveCriticalSection( &X11DRV_CritSection
);
736 TRACE(x11
, "Ret XGetFontProperty\n");
740 int TSXGetGeometry(Display
* a0
, Drawable a1
, Window
* a2
, int* a3
, int* a4
, unsigned int* a5
, unsigned int* a6
, unsigned int* a7
, unsigned int* a8
)
743 TRACE(x11
, "Call XGetGeometry\n");
744 EnterCriticalSection( &X11DRV_CritSection
);
745 r
= XGetGeometry(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
746 LeaveCriticalSection( &X11DRV_CritSection
);
747 TRACE(x11
, "Ret XGetGeometry\n");
751 int TSXGetInputFocus(Display
* a0
, Window
* a1
, int* a2
)
754 TRACE(x11
, "Call XGetInputFocus\n");
755 EnterCriticalSection( &X11DRV_CritSection
);
756 r
= XGetInputFocus(a0
, a1
, a2
);
757 LeaveCriticalSection( &X11DRV_CritSection
);
758 TRACE(x11
, "Ret XGetInputFocus\n");
762 int TSXGetKeyboardControl(Display
* a0
, XKeyboardState
* a1
)
765 TRACE(x11
, "Call XGetKeyboardControl\n");
766 EnterCriticalSection( &X11DRV_CritSection
);
767 r
= XGetKeyboardControl(a0
, a1
);
768 LeaveCriticalSection( &X11DRV_CritSection
);
769 TRACE(x11
, "Ret XGetKeyboardControl\n");
773 int TSXGetScreenSaver(Display
* a0
, int* a1
, int* a2
, int* a3
, int* a4
)
776 TRACE(x11
, "Call XGetScreenSaver\n");
777 EnterCriticalSection( &X11DRV_CritSection
);
778 r
= XGetScreenSaver(a0
, a1
, a2
, a3
, a4
);
779 LeaveCriticalSection( &X11DRV_CritSection
);
780 TRACE(x11
, "Ret XGetScreenSaver\n");
784 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
)
787 TRACE(x11
, "Call XGetWindowProperty\n");
788 EnterCriticalSection( &X11DRV_CritSection
);
789 r
= XGetWindowProperty(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
, a11
);
790 LeaveCriticalSection( &X11DRV_CritSection
);
791 TRACE(x11
, "Ret XGetWindowProperty\n");
795 int TSXGetWindowAttributes(Display
* a0
, Window a1
, XWindowAttributes
* a2
)
798 TRACE(x11
, "Call XGetWindowAttributes\n");
799 EnterCriticalSection( &X11DRV_CritSection
);
800 r
= XGetWindowAttributes(a0
, a1
, a2
);
801 LeaveCriticalSection( &X11DRV_CritSection
);
802 TRACE(x11
, "Ret XGetWindowAttributes\n");
806 int TSXGrabServer(Display
* a0
)
809 TRACE(x11
, "Call XGrabServer\n");
810 EnterCriticalSection( &X11DRV_CritSection
);
812 LeaveCriticalSection( &X11DRV_CritSection
);
813 TRACE(x11
, "Ret XGrabServer\n");
817 int TSXInstallColormap(Display
* a0
, Colormap a1
)
820 TRACE(x11
, "Call XInstallColormap\n");
821 EnterCriticalSection( &X11DRV_CritSection
);
822 r
= XInstallColormap(a0
, a1
);
823 LeaveCriticalSection( &X11DRV_CritSection
);
824 TRACE(x11
, "Ret XInstallColormap\n");
828 KeyCode
TSXKeysymToKeycode(Display
* a0
, KeySym a1
)
831 TRACE(x11
, "Call XKeysymToKeycode\n");
832 EnterCriticalSection( &X11DRV_CritSection
);
833 r
= XKeysymToKeycode(a0
, a1
);
834 LeaveCriticalSection( &X11DRV_CritSection
);
835 TRACE(x11
, "Ret XKeysymToKeycode\n");
839 int TSXMapWindow(Display
* a0
, Window a1
)
842 TRACE(x11
, "Call XMapWindow\n");
843 EnterCriticalSection( &X11DRV_CritSection
);
844 r
= XMapWindow(a0
, a1
);
845 LeaveCriticalSection( &X11DRV_CritSection
);
846 TRACE(x11
, "Ret XMapWindow\n");
850 int TSXNextEvent(Display
* a0
, XEvent
* a1
)
853 TRACE(x11
, "Call XNextEvent\n");
854 EnterCriticalSection( &X11DRV_CritSection
);
855 r
= XNextEvent(a0
, a1
);
856 LeaveCriticalSection( &X11DRV_CritSection
);
857 TRACE(x11
, "Ret XNextEvent\n");
861 int TSXParseGeometry(const char* a0
, int* a1
, int* a2
, unsigned int* a3
, unsigned int* a4
)
864 TRACE(x11
, "Call XParseGeometry\n");
865 EnterCriticalSection( &X11DRV_CritSection
);
866 r
= XParseGeometry(a0
, a1
, a2
, a3
, a4
);
867 LeaveCriticalSection( &X11DRV_CritSection
);
868 TRACE(x11
, "Ret XParseGeometry\n");
872 int TSXPending(Display
* a0
)
875 TRACE(x11
, "Call XPending\n");
876 EnterCriticalSection( &X11DRV_CritSection
);
878 LeaveCriticalSection( &X11DRV_CritSection
);
879 TRACE(x11
, "Ret XPending\n");
883 int TSXPutBackEvent(Display
* a0
, XEvent
* a1
)
886 TRACE(x11
, "Call XPutBackEvent\n");
887 EnterCriticalSection( &X11DRV_CritSection
);
888 r
= XPutBackEvent(a0
, a1
);
889 LeaveCriticalSection( &X11DRV_CritSection
);
890 TRACE(x11
, "Ret XPutBackEvent\n");
894 int TSXPutImage(Display
* a0
, Drawable a1
, GC a2
, XImage
* a3
, int a4
, int a5
, int a6
, int a7
, unsigned int a8
, unsigned int a9
)
897 TRACE(x11
, "Call XPutImage\n");
898 EnterCriticalSection( &X11DRV_CritSection
);
899 r
= XPutImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
);
900 LeaveCriticalSection( &X11DRV_CritSection
);
901 TRACE(x11
, "Ret XPutImage\n");
905 int TSXQueryColor(Display
* a0
, Colormap a1
, XColor
* a2
)
908 TRACE(x11
, "Call XQueryColor\n");
909 EnterCriticalSection( &X11DRV_CritSection
);
910 r
= XQueryColor(a0
, a1
, a2
);
911 LeaveCriticalSection( &X11DRV_CritSection
);
912 TRACE(x11
, "Ret XQueryColor\n");
916 int TSXQueryKeymap(Display
* a0
, char* a1
)
919 TRACE(x11
, "Call XQueryKeymap\n");
920 EnterCriticalSection( &X11DRV_CritSection
);
921 r
= XQueryKeymap(a0
, a1
);
922 LeaveCriticalSection( &X11DRV_CritSection
);
923 TRACE(x11
, "Ret XQueryKeymap\n");
927 int TSXQueryPointer(Display
* a0
, Window a1
, Window
* a2
, Window
* a3
, int* a4
, int* a5
, int* a6
, int* a7
, unsigned int* a8
)
930 TRACE(x11
, "Call XQueryPointer\n");
931 EnterCriticalSection( &X11DRV_CritSection
);
932 r
= XQueryPointer(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
933 LeaveCriticalSection( &X11DRV_CritSection
);
934 TRACE(x11
, "Ret XQueryPointer\n");
938 int TSXQueryTree(Display
* a0
, Window a1
, Window
* a2
, Window
* a3
, Window
** a4
, unsigned int* a5
)
941 TRACE(x11
, "Call XQueryTree\n");
942 EnterCriticalSection( &X11DRV_CritSection
);
943 r
= XQueryTree(a0
, a1
, a2
, a3
, a4
, a5
);
944 LeaveCriticalSection( &X11DRV_CritSection
);
945 TRACE(x11
, "Ret XQueryTree\n");
949 int TSXResetScreenSaver(Display
* a0
)
952 TRACE(x11
, "Call XResetScreenSaver\n");
953 EnterCriticalSection( &X11DRV_CritSection
);
954 r
= XResetScreenSaver(a0
);
955 LeaveCriticalSection( &X11DRV_CritSection
);
956 TRACE(x11
, "Ret XResetScreenSaver\n");
960 int TSXRestackWindows(Display
* a0
, Window
* a1
, int a2
)
963 TRACE(x11
, "Call XRestackWindows\n");
964 EnterCriticalSection( &X11DRV_CritSection
);
965 r
= XRestackWindows(a0
, a1
, a2
);
966 LeaveCriticalSection( &X11DRV_CritSection
);
967 TRACE(x11
, "Ret XRestackWindows\n");
971 int TSXSendEvent(Display
* a0
, Window a1
, int a2
, long a3
, XEvent
* a4
)
974 TRACE(x11
, "Call XSendEvent\n");
975 EnterCriticalSection( &X11DRV_CritSection
);
976 r
= XSendEvent(a0
, a1
, a2
, a3
, a4
);
977 LeaveCriticalSection( &X11DRV_CritSection
);
978 TRACE(x11
, "Ret XSendEvent\n");
982 int TSXSetArcMode(Display
* a0
, GC a1
, int a2
)
985 TRACE(x11
, "Call XSetArcMode\n");
986 EnterCriticalSection( &X11DRV_CritSection
);
987 r
= XSetArcMode(a0
, a1
, a2
);
988 LeaveCriticalSection( &X11DRV_CritSection
);
989 TRACE(x11
, "Ret XSetArcMode\n");
993 int TSXSetBackground(Display
* a0
, GC a1
, unsigned long a2
)
996 TRACE(x11
, "Call XSetBackground\n");
997 EnterCriticalSection( &X11DRV_CritSection
);
998 r
= XSetBackground(a0
, a1
, a2
);
999 LeaveCriticalSection( &X11DRV_CritSection
);
1000 TRACE(x11
, "Ret XSetBackground\n");
1004 int TSXSetClipMask(Display
* a0
, GC a1
, Pixmap a2
)
1007 TRACE(x11
, "Call XSetClipMask\n");
1008 EnterCriticalSection( &X11DRV_CritSection
);
1009 r
= XSetClipMask(a0
, a1
, a2
);
1010 LeaveCriticalSection( &X11DRV_CritSection
);
1011 TRACE(x11
, "Ret XSetClipMask\n");
1015 int TSXSetClipOrigin(Display
* a0
, GC a1
, int a2
, int a3
)
1018 TRACE(x11
, "Call XSetClipOrigin\n");
1019 EnterCriticalSection( &X11DRV_CritSection
);
1020 r
= XSetClipOrigin(a0
, a1
, a2
, a3
);
1021 LeaveCriticalSection( &X11DRV_CritSection
);
1022 TRACE(x11
, "Ret XSetClipOrigin\n");
1026 int TSXSetClipRectangles(Display
* a0
, GC a1
, int a2
, int a3
, XRectangle
* a4
, int a5
, int a6
)
1029 TRACE(x11
, "Call XSetClipRectangles\n");
1030 EnterCriticalSection( &X11DRV_CritSection
);
1031 r
= XSetClipRectangles(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
1032 LeaveCriticalSection( &X11DRV_CritSection
);
1033 TRACE(x11
, "Ret XSetClipRectangles\n");
1037 int TSXSetDashes(Display
* a0
, GC a1
, int a2
, const char* a3
, int a4
)
1040 TRACE(x11
, "Call XSetDashes\n");
1041 EnterCriticalSection( &X11DRV_CritSection
);
1042 r
= XSetDashes(a0
, a1
, a2
, a3
, a4
);
1043 LeaveCriticalSection( &X11DRV_CritSection
);
1044 TRACE(x11
, "Ret XSetDashes\n");
1048 int TSXSetFillStyle(Display
* a0
, GC a1
, int a2
)
1051 TRACE(x11
, "Call XSetFillStyle\n");
1052 EnterCriticalSection( &X11DRV_CritSection
);
1053 r
= XSetFillStyle(a0
, a1
, a2
);
1054 LeaveCriticalSection( &X11DRV_CritSection
);
1055 TRACE(x11
, "Ret XSetFillStyle\n");
1059 int TSXSetForeground(Display
* a0
, GC a1
, unsigned long a2
)
1062 TRACE(x11
, "Call XSetForeground\n");
1063 EnterCriticalSection( &X11DRV_CritSection
);
1064 r
= XSetForeground(a0
, a1
, a2
);
1065 LeaveCriticalSection( &X11DRV_CritSection
);
1066 TRACE(x11
, "Ret XSetForeground\n");
1070 int TSXSetFunction(Display
* a0
, GC a1
, int a2
)
1073 TRACE(x11
, "Call XSetFunction\n");
1074 EnterCriticalSection( &X11DRV_CritSection
);
1075 r
= XSetFunction(a0
, a1
, a2
);
1076 LeaveCriticalSection( &X11DRV_CritSection
);
1077 TRACE(x11
, "Ret XSetFunction\n");
1081 int TSXSetGraphicsExposures(Display
* a0
, GC a1
, int a2
)
1084 TRACE(x11
, "Call XSetGraphicsExposures\n");
1085 EnterCriticalSection( &X11DRV_CritSection
);
1086 r
= XSetGraphicsExposures(a0
, a1
, a2
);
1087 LeaveCriticalSection( &X11DRV_CritSection
);
1088 TRACE(x11
, "Ret XSetGraphicsExposures\n");
1092 int TSXSetIconName(Display
* a0
, Window a1
, const char* a2
)
1095 TRACE(x11
, "Call XSetIconName\n");
1096 EnterCriticalSection( &X11DRV_CritSection
);
1097 r
= XSetIconName(a0
, a1
, a2
);
1098 LeaveCriticalSection( &X11DRV_CritSection
);
1099 TRACE(x11
, "Ret XSetIconName\n");
1103 int TSXSetInputFocus(Display
* a0
, Window a1
, int a2
, Time a3
)
1106 TRACE(x11
, "Call XSetInputFocus\n");
1107 EnterCriticalSection( &X11DRV_CritSection
);
1108 r
= XSetInputFocus(a0
, a1
, a2
, a3
);
1109 LeaveCriticalSection( &X11DRV_CritSection
);
1110 TRACE(x11
, "Ret XSetInputFocus\n");
1114 int TSXSetLineAttributes(Display
* a0
, GC a1
, unsigned int a2
, int a3
, int a4
, int a5
)
1117 TRACE(x11
, "Call XSetLineAttributes\n");
1118 EnterCriticalSection( &X11DRV_CritSection
);
1119 r
= XSetLineAttributes(a0
, a1
, a2
, a3
, a4
, a5
);
1120 LeaveCriticalSection( &X11DRV_CritSection
);
1121 TRACE(x11
, "Ret XSetLineAttributes\n");
1125 int TSXSetScreenSaver(Display
* a0
, int a1
, int a2
, int a3
, int a4
)
1128 TRACE(x11
, "Call XSetScreenSaver\n");
1129 EnterCriticalSection( &X11DRV_CritSection
);
1130 r
= XSetScreenSaver(a0
, a1
, a2
, a3
, a4
);
1131 LeaveCriticalSection( &X11DRV_CritSection
);
1132 TRACE(x11
, "Ret XSetScreenSaver\n");
1136 int TSXSetSelectionOwner(Display
* a0
, Atom a1
, Window a2
, Time a3
)
1139 TRACE(x11
, "Call XSetSelectionOwner\n");
1140 EnterCriticalSection( &X11DRV_CritSection
);
1141 r
= XSetSelectionOwner(a0
, a1
, a2
, a3
);
1142 LeaveCriticalSection( &X11DRV_CritSection
);
1143 TRACE(x11
, "Ret XSetSelectionOwner\n");
1147 int TSXSetSubwindowMode(Display
* a0
, GC a1
, int a2
)
1150 TRACE(x11
, "Call XSetSubwindowMode\n");
1151 EnterCriticalSection( &X11DRV_CritSection
);
1152 r
= XSetSubwindowMode(a0
, a1
, a2
);
1153 LeaveCriticalSection( &X11DRV_CritSection
);
1154 TRACE(x11
, "Ret XSetSubwindowMode\n");
1158 int TSXSetWindowColormap(Display
* a0
, Window a1
, Colormap a2
)
1161 TRACE(x11
, "Call XSetWindowColormap\n");
1162 EnterCriticalSection( &X11DRV_CritSection
);
1163 r
= XSetWindowColormap(a0
, a1
, a2
);
1164 LeaveCriticalSection( &X11DRV_CritSection
);
1165 TRACE(x11
, "Ret XSetWindowColormap\n");
1169 int TSXStoreColor(Display
* a0
, Colormap a1
, XColor
* a2
)
1172 TRACE(x11
, "Call XStoreColor\n");
1173 EnterCriticalSection( &X11DRV_CritSection
);
1174 r
= XStoreColor(a0
, a1
, a2
);
1175 LeaveCriticalSection( &X11DRV_CritSection
);
1176 TRACE(x11
, "Ret XStoreColor\n");
1180 int TSXStoreName(Display
* a0
, Window a1
, const char* a2
)
1183 TRACE(x11
, "Call XStoreName\n");
1184 EnterCriticalSection( &X11DRV_CritSection
);
1185 r
= XStoreName(a0
, a1
, a2
);
1186 LeaveCriticalSection( &X11DRV_CritSection
);
1187 TRACE(x11
, "Ret XStoreName\n");
1191 int TSXSync(Display
* a0
, int a1
)
1194 TRACE(x11
, "Call XSync\n");
1195 EnterCriticalSection( &X11DRV_CritSection
);
1197 LeaveCriticalSection( &X11DRV_CritSection
);
1198 TRACE(x11
, "Ret XSync\n");
1202 int TSXTextExtents(XFontStruct
* a0
, const char* a1
, int a2
, int* a3
, int* a4
, int* a5
, XCharStruct
* a6
)
1205 TRACE(x11
, "Call XTextExtents\n");
1206 EnterCriticalSection( &X11DRV_CritSection
);
1207 r
= XTextExtents(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
1208 LeaveCriticalSection( &X11DRV_CritSection
);
1209 TRACE(x11
, "Ret XTextExtents\n");
1213 int TSXTextWidth(XFontStruct
* a0
, const char* a1
, int a2
)
1216 TRACE(x11
, "Call XTextWidth\n");
1217 EnterCriticalSection( &X11DRV_CritSection
);
1218 r
= XTextWidth(a0
, a1
, a2
);
1219 LeaveCriticalSection( &X11DRV_CritSection
);
1220 TRACE(x11
, "Ret XTextWidth\n");
1224 int TSXUngrabServer(Display
* a0
)
1227 TRACE(x11
, "Call XUngrabServer\n");
1228 EnterCriticalSection( &X11DRV_CritSection
);
1229 r
= XUngrabServer(a0
);
1230 LeaveCriticalSection( &X11DRV_CritSection
);
1231 TRACE(x11
, "Ret XUngrabServer\n");
1235 int TSXUninstallColormap(Display
* a0
, Colormap a1
)
1238 TRACE(x11
, "Call XUninstallColormap\n");
1239 EnterCriticalSection( &X11DRV_CritSection
);
1240 r
= XUninstallColormap(a0
, a1
);
1241 LeaveCriticalSection( &X11DRV_CritSection
);
1242 TRACE(x11
, "Ret XUninstallColormap\n");
1246 int TSXUnmapWindow(Display
* a0
, Window a1
)
1249 TRACE(x11
, "Call XUnmapWindow\n");
1250 EnterCriticalSection( &X11DRV_CritSection
);
1251 r
= XUnmapWindow(a0
, a1
);
1252 LeaveCriticalSection( &X11DRV_CritSection
);
1253 TRACE(x11
, "Ret XUnmapWindow\n");
1257 int TSXWarpPointer(Display
* a0
, Window a1
, Window a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
, int a7
, int a8
)
1260 TRACE(x11
, "Call XWarpPointer\n");
1261 EnterCriticalSection( &X11DRV_CritSection
);
1262 r
= XWarpPointer(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
1263 LeaveCriticalSection( &X11DRV_CritSection
);
1264 TRACE(x11
, "Ret XWarpPointer\n");
1268 XIM
TSXOpenIM(Display
* a0
, struct _XrmHashBucketRec
* a1
, char* a2
, char* a3
)
1271 TRACE(x11
, "Call XOpenIM\n");
1272 EnterCriticalSection( &X11DRV_CritSection
);
1273 r
= XOpenIM(a0
, a1
, a2
, a3
);
1274 LeaveCriticalSection( &X11DRV_CritSection
);
1275 TRACE(x11
, "Ret XOpenIM\n");
1279 int (*TSXSynchronize(Display
*a0
, Bool a1
))(Display
*)
1281 int (*r
)(Display
*);
1282 TRACE(x11
, "Call XSynchronize\n");
1283 EnterCriticalSection( &X11DRV_CritSection
);
1284 r
= XSynchronize(a0
, a1
);
1285 LeaveCriticalSection( &X11DRV_CritSection
);
1286 TRACE(x11
, "Ret XSynchronize\n");
1290 extern void _XInitImageFuncPtrs(XImage
*);
1292 void TS_XInitImageFuncPtrs(XImage
*a0
)
1294 TRACE(x11
, "Call _XInitImageFuncPtrs\n");
1295 EnterCriticalSection( &X11DRV_CritSection
);
1296 _XInitImageFuncPtrs(a0
);
1297 LeaveCriticalSection( &X11DRV_CritSection
);
1298 TRACE(x11
, "Ret _XInitImageFuncPtrs\n");
1302 #endif /* !defined(X_DISPLAY_MISSING) */