2 * Thread safe wrappers around Xlib calls.
3 * This file was generated automatically by tools/make_X11wrappers
12 #include "debugtools.h"
16 DEFAULT_DEBUG_CHANNEL(x11
);
18 XFontStruct
* TSXLoadQueryFont(Display
* a0
, const char* a1
)
21 TRACE("Call XLoadQueryFont\n");
22 EnterCriticalSection( &X11DRV_CritSection
);
23 r
= XLoadQueryFont(a0
, a1
);
24 LeaveCriticalSection( &X11DRV_CritSection
);
25 TRACE("Ret XLoadQueryFont\n");
29 XModifierKeymap
* TSXGetModifierMapping(Display
* a0
)
32 TRACE("Call XGetModifierMapping\n");
33 EnterCriticalSection( &X11DRV_CritSection
);
34 r
= XGetModifierMapping(a0
);
35 LeaveCriticalSection( &X11DRV_CritSection
);
36 TRACE("Ret XGetModifierMapping\n");
40 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
)
43 TRACE("Call XCreateImage\n");
44 EnterCriticalSection( &X11DRV_CritSection
);
45 r
= XCreateImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
);
46 LeaveCriticalSection( &X11DRV_CritSection
);
47 TRACE("Ret XCreateImage\n");
51 XImage
* TSXGetImage(Display
* a0
, Drawable a1
, int a2
, int a3
, unsigned int a4
, unsigned int a5
, unsigned long a6
, int a7
)
54 TRACE("Call XGetImage\n");
55 EnterCriticalSection( &X11DRV_CritSection
);
56 r
= XGetImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
);
57 LeaveCriticalSection( &X11DRV_CritSection
);
58 TRACE("Ret XGetImage\n");
62 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
)
65 TRACE("Call XGetSubImage\n");
66 EnterCriticalSection( &X11DRV_CritSection
);
67 r
= XGetSubImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
);
68 LeaveCriticalSection( &X11DRV_CritSection
);
69 TRACE("Ret XGetSubImage\n");
73 Display
* TSXOpenDisplay(const char* a0
)
76 TRACE("Call XOpenDisplay\n");
77 EnterCriticalSection( &X11DRV_CritSection
);
79 LeaveCriticalSection( &X11DRV_CritSection
);
80 TRACE("Ret XOpenDisplay\n");
84 void TSXrmInitialize(void)
86 TRACE("Call XrmInitialize\n");
87 EnterCriticalSection( &X11DRV_CritSection
);
89 LeaveCriticalSection( &X11DRV_CritSection
);
90 TRACE("Ret XrmInitialize\n");
93 char * TSXGetAtomName(Display
* a0
, Atom a1
)
96 TRACE("Call XGetAtomName\n");
97 EnterCriticalSection( &X11DRV_CritSection
);
98 r
= XGetAtomName(a0
, a1
);
99 LeaveCriticalSection( &X11DRV_CritSection
);
100 TRACE("Ret XGetAtomName\n");
104 char * TSXKeysymToString(KeySym a0
)
107 TRACE("Call XKeysymToString\n");
108 EnterCriticalSection( &X11DRV_CritSection
);
109 r
= XKeysymToString(a0
);
110 LeaveCriticalSection( &X11DRV_CritSection
);
111 TRACE("Ret XKeysymToString\n");
115 Atom
TSXInternAtom(Display
* a0
, const char* a1
, int a2
)
118 TRACE("Call XInternAtom\n");
119 EnterCriticalSection( &X11DRV_CritSection
);
120 r
= XInternAtom(a0
, a1
, a2
);
121 LeaveCriticalSection( &X11DRV_CritSection
);
122 TRACE("Ret XInternAtom\n");
126 Colormap
TSXCopyColormapAndFree(Display
* a0
, Colormap a1
)
129 TRACE("Call XCopyColormapAndFree\n");
130 EnterCriticalSection( &X11DRV_CritSection
);
131 r
= XCopyColormapAndFree(a0
, a1
);
132 LeaveCriticalSection( &X11DRV_CritSection
);
133 TRACE("Ret XCopyColormapAndFree\n");
137 Colormap
TSXCreateColormap(Display
* a0
, Window a1
, Visual
* a2
, int a3
)
140 TRACE("Call XCreateColormap\n");
141 EnterCriticalSection( &X11DRV_CritSection
);
142 r
= XCreateColormap(a0
, a1
, a2
, a3
);
143 LeaveCriticalSection( &X11DRV_CritSection
);
144 TRACE("Ret XCreateColormap\n");
148 Cursor
TSXCreatePixmapCursor(Display
* a0
, Pixmap a1
, Pixmap a2
, XColor
* a3
, XColor
* a4
, unsigned int a5
, unsigned int a6
)
151 TRACE("Call XCreatePixmapCursor\n");
152 EnterCriticalSection( &X11DRV_CritSection
);
153 r
= XCreatePixmapCursor(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
154 LeaveCriticalSection( &X11DRV_CritSection
);
155 TRACE("Ret XCreatePixmapCursor\n");
159 Cursor
TSXCreateFontCursor(Display
* a0
, unsigned int a1
)
162 TRACE("Call XCreateFontCursor\n");
163 EnterCriticalSection( &X11DRV_CritSection
);
164 r
= XCreateFontCursor(a0
, a1
);
165 LeaveCriticalSection( &X11DRV_CritSection
);
166 TRACE("Ret XCreateFontCursor\n");
170 GC
TSXCreateGC(Display
* a0
, Drawable a1
, unsigned long a2
, XGCValues
* a3
)
173 TRACE("Call XCreateGC\n");
174 EnterCriticalSection( &X11DRV_CritSection
);
175 r
= XCreateGC(a0
, a1
, a2
, a3
);
176 LeaveCriticalSection( &X11DRV_CritSection
);
177 TRACE("Ret XCreateGC\n");
181 Pixmap
TSXCreatePixmap(Display
* a0
, Drawable a1
, unsigned int a2
, unsigned int a3
, unsigned int a4
)
184 TRACE("Call XCreatePixmap\n");
185 EnterCriticalSection( &X11DRV_CritSection
);
186 r
= XCreatePixmap(a0
, a1
, a2
, a3
, a4
);
187 LeaveCriticalSection( &X11DRV_CritSection
);
188 TRACE("Ret XCreatePixmap\n");
192 Pixmap
TSXCreateBitmapFromData(Display
* a0
, Drawable a1
, const char* a2
, unsigned int a3
, unsigned int a4
)
195 TRACE("Call XCreateBitmapFromData\n");
196 EnterCriticalSection( &X11DRV_CritSection
);
197 r
= XCreateBitmapFromData(a0
, a1
, a2
, a3
, a4
);
198 LeaveCriticalSection( &X11DRV_CritSection
);
199 TRACE("Ret XCreateBitmapFromData\n");
203 Window
TSXGetSelectionOwner(Display
* a0
, Atom a1
)
206 TRACE("Call XGetSelectionOwner\n");
207 EnterCriticalSection( &X11DRV_CritSection
);
208 r
= XGetSelectionOwner(a0
, a1
);
209 LeaveCriticalSection( &X11DRV_CritSection
);
210 TRACE("Ret XGetSelectionOwner\n");
214 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
)
217 TRACE("Call XCreateWindow\n");
218 EnterCriticalSection( &X11DRV_CritSection
);
219 r
= XCreateWindow(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
, a11
);
220 LeaveCriticalSection( &X11DRV_CritSection
);
221 TRACE("Ret XCreateWindow\n");
225 char ** TSXListFonts(Display
* a0
, const char* a1
, int a2
, int* a3
)
228 TRACE("Call XListFonts\n");
229 EnterCriticalSection( &X11DRV_CritSection
);
230 r
= XListFonts(a0
, a1
, a2
, a3
);
231 LeaveCriticalSection( &X11DRV_CritSection
);
232 TRACE("Ret XListFonts\n");
236 KeySym
TSXKeycodeToKeysym(Display
* a0
, unsigned int a1
, int a2
)
239 TRACE("Call XKeycodeToKeysym\n");
240 EnterCriticalSection( &X11DRV_CritSection
);
241 r
= XKeycodeToKeysym(a0
, a1
, a2
);
242 LeaveCriticalSection( &X11DRV_CritSection
);
243 TRACE("Ret XKeycodeToKeysym\n");
247 KeySym
TSXLookupKeysym(XKeyEvent
* a0
, int a1
)
250 TRACE("Call XLookupKeysym\n");
251 EnterCriticalSection( &X11DRV_CritSection
);
252 r
= XLookupKeysym(a0
, a1
);
253 LeaveCriticalSection( &X11DRV_CritSection
);
254 TRACE("Ret XLookupKeysym\n");
258 KeySym
* TSXGetKeyboardMapping(Display
* a0
, unsigned int a1
, int a2
, int* a3
)
261 TRACE("Call XGetKeyboardMapping\n");
262 EnterCriticalSection( &X11DRV_CritSection
);
263 r
= XGetKeyboardMapping(a0
, a1
, a2
, a3
);
264 LeaveCriticalSection( &X11DRV_CritSection
);
265 TRACE("Ret XGetKeyboardMapping\n");
269 char * TSXResourceManagerString(Display
* a0
)
272 TRACE("Call XResourceManagerString\n");
273 EnterCriticalSection( &X11DRV_CritSection
);
274 r
= XResourceManagerString(a0
);
275 LeaveCriticalSection( &X11DRV_CritSection
);
276 TRACE("Ret XResourceManagerString\n");
280 int TSXInitThreads(void)
283 TRACE("Call XInitThreads\n");
284 EnterCriticalSection( &X11DRV_CritSection
);
286 LeaveCriticalSection( &X11DRV_CritSection
);
287 TRACE("Ret XInitThreads\n");
291 XPixmapFormatValues
* TSXListPixmapFormats(Display
* a0
, int* a1
)
293 XPixmapFormatValues
* r
;
294 TRACE("Call XListPixmapFormats\n");
295 EnterCriticalSection( &X11DRV_CritSection
);
296 r
= XListPixmapFormats(a0
, a1
);
297 LeaveCriticalSection( &X11DRV_CritSection
);
298 TRACE("Ret XListPixmapFormats\n");
302 int * TSXListDepths(Display
* a0
, int a1
, int* a2
)
305 TRACE("Call XListDepths\n");
306 EnterCriticalSection( &X11DRV_CritSection
);
307 r
= XListDepths(a0
, a1
, a2
);
308 LeaveCriticalSection( &X11DRV_CritSection
);
309 TRACE("Ret XListDepths\n");
313 int TSXReconfigureWMWindow(Display
* a0
, Window a1
, int a2
, unsigned int a3
, XWindowChanges
* a4
)
316 TRACE("Call XReconfigureWMWindow\n");
317 EnterCriticalSection( &X11DRV_CritSection
);
318 r
= XReconfigureWMWindow(a0
, a1
, a2
, a3
, a4
);
319 LeaveCriticalSection( &X11DRV_CritSection
);
320 TRACE("Ret XReconfigureWMWindow\n");
324 int TSXSetWMProtocols(Display
* a0
, Window a1
, Atom
* a2
, int a3
)
327 TRACE("Call XSetWMProtocols\n");
328 EnterCriticalSection( &X11DRV_CritSection
);
329 r
= XSetWMProtocols(a0
, a1
, a2
, a3
);
330 LeaveCriticalSection( &X11DRV_CritSection
);
331 TRACE("Ret XSetWMProtocols\n");
335 int TSXIconifyWindow(Display
* a0
, Window a1
, int a2
)
338 TRACE("Call XIconifyWindow\n");
339 EnterCriticalSection( &X11DRV_CritSection
);
340 r
= XIconifyWindow(a0
, a1
, a2
);
341 LeaveCriticalSection( &X11DRV_CritSection
);
342 TRACE("Ret XIconifyWindow\n");
346 int TSXSetTransientForHint(Display
* a0
, Window a1
, Window a2
)
349 TRACE("Call XSetTransientForHint\n");
350 EnterCriticalSection( &X11DRV_CritSection
);
351 r
= XSetTransientForHint(a0
, a1
, a2
);
352 LeaveCriticalSection( &X11DRV_CritSection
);
353 TRACE("Ret XSetTransientForHint\n");
357 int TSXActivateScreenSaver(Display
* a0
)
360 TRACE("Call XActivateScreenSaver\n");
361 EnterCriticalSection( &X11DRV_CritSection
);
362 r
= XActivateScreenSaver(a0
);
363 LeaveCriticalSection( &X11DRV_CritSection
);
364 TRACE("Ret XActivateScreenSaver\n");
368 int TSXAllocColor(Display
* a0
, Colormap a1
, XColor
* a2
)
371 TRACE("Call XAllocColor\n");
372 EnterCriticalSection( &X11DRV_CritSection
);
373 r
= XAllocColor(a0
, a1
, a2
);
374 LeaveCriticalSection( &X11DRV_CritSection
);
375 TRACE("Ret XAllocColor\n");
379 int TSXAllocColorCells(Display
* a0
, Colormap a1
, int a2
, unsigned long* a3
, unsigned int a4
, unsigned long* a5
, unsigned int a6
)
382 TRACE("Call XAllocColorCells\n");
383 EnterCriticalSection( &X11DRV_CritSection
);
384 r
= XAllocColorCells(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
385 LeaveCriticalSection( &X11DRV_CritSection
);
386 TRACE("Ret XAllocColorCells\n");
390 int TSXBell(Display
* a0
, int a1
)
393 TRACE("Call XBell\n");
394 EnterCriticalSection( &X11DRV_CritSection
);
396 LeaveCriticalSection( &X11DRV_CritSection
);
397 TRACE("Ret XBell\n");
401 int TSXChangeGC(Display
* a0
, GC a1
, unsigned long a2
, XGCValues
* a3
)
404 TRACE("Call XChangeGC\n");
405 EnterCriticalSection( &X11DRV_CritSection
);
406 r
= XChangeGC(a0
, a1
, a2
, a3
);
407 LeaveCriticalSection( &X11DRV_CritSection
);
408 TRACE("Ret XChangeGC\n");
412 int TSXChangeKeyboardControl(Display
* a0
, unsigned long a1
, XKeyboardControl
* a2
)
415 TRACE("Call XChangeKeyboardControl\n");
416 EnterCriticalSection( &X11DRV_CritSection
);
417 r
= XChangeKeyboardControl(a0
, a1
, a2
);
418 LeaveCriticalSection( &X11DRV_CritSection
);
419 TRACE("Ret XChangeKeyboardControl\n");
423 int TSXChangeProperty(Display
* a0
, Window a1
, Atom a2
, Atom a3
, int a4
, int a5
, const unsigned char* a6
, int a7
)
426 TRACE("Call XChangeProperty\n");
427 EnterCriticalSection( &X11DRV_CritSection
);
428 r
= XChangeProperty(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
);
429 LeaveCriticalSection( &X11DRV_CritSection
);
430 TRACE("Ret XChangeProperty\n");
434 int TSXChangeWindowAttributes(Display
* a0
, Window a1
, unsigned long a2
, XSetWindowAttributes
* a3
)
437 TRACE("Call XChangeWindowAttributes\n");
438 EnterCriticalSection( &X11DRV_CritSection
);
439 r
= XChangeWindowAttributes(a0
, a1
, a2
, a3
);
440 LeaveCriticalSection( &X11DRV_CritSection
);
441 TRACE("Ret XChangeWindowAttributes\n");
445 int TSXCheckTypedEvent(Display
* a0
, int a1
, XEvent
* a2
)
448 TRACE("Call XCheckTypedEvent\n");
449 EnterCriticalSection( &X11DRV_CritSection
);
450 r
= XCheckTypedEvent(a0
, a1
, a2
);
451 LeaveCriticalSection( &X11DRV_CritSection
);
452 TRACE("Ret XCheckTypedEvent\n");
456 int TSXCheckTypedWindowEvent(Display
* a0
, Window a1
, int a2
, XEvent
* a3
)
459 TRACE("Call XCheckTypedWindowEvent\n");
460 EnterCriticalSection( &X11DRV_CritSection
);
461 r
= XCheckTypedWindowEvent(a0
, a1
, a2
, a3
);
462 LeaveCriticalSection( &X11DRV_CritSection
);
463 TRACE("Ret XCheckTypedWindowEvent\n");
467 int TSXCheckWindowEvent(Display
* a0
, Window a1
, long a2
, XEvent
* a3
)
470 TRACE("Call XCheckWindowEvent\n");
471 EnterCriticalSection( &X11DRV_CritSection
);
472 r
= XCheckWindowEvent(a0
, a1
, a2
, a3
);
473 LeaveCriticalSection( &X11DRV_CritSection
);
474 TRACE("Ret XCheckWindowEvent\n");
478 int TSXConvertSelection(Display
* a0
, Atom a1
, Atom a2
, Atom a3
, Window a4
, Time a5
)
481 TRACE("Call XConvertSelection\n");
482 EnterCriticalSection( &X11DRV_CritSection
);
483 r
= XConvertSelection(a0
, a1
, a2
, a3
, a4
, a5
);
484 LeaveCriticalSection( &X11DRV_CritSection
);
485 TRACE("Ret XConvertSelection\n");
489 int TSXCopyArea(Display
* a0
, Drawable a1
, Drawable a2
, GC a3
, int a4
, int a5
, unsigned int a6
, unsigned int a7
, int a8
, int a9
)
492 TRACE("Call XCopyArea\n");
493 EnterCriticalSection( &X11DRV_CritSection
);
494 r
= XCopyArea(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
);
495 LeaveCriticalSection( &X11DRV_CritSection
);
496 TRACE("Ret XCopyArea\n");
500 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
)
503 TRACE("Call XCopyPlane\n");
504 EnterCriticalSection( &X11DRV_CritSection
);
505 r
= XCopyPlane(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
);
506 LeaveCriticalSection( &X11DRV_CritSection
);
507 TRACE("Ret XCopyPlane\n");
511 int TSXDefineCursor(Display
* a0
, Window a1
, Cursor a2
)
514 TRACE("Call XDefineCursor\n");
515 EnterCriticalSection( &X11DRV_CritSection
);
516 r
= XDefineCursor(a0
, a1
, a2
);
517 LeaveCriticalSection( &X11DRV_CritSection
);
518 TRACE("Ret XDefineCursor\n");
522 int TSXDeleteProperty(Display
* a0
, Window a1
, Atom a2
)
525 TRACE("Call XDeleteProperty\n");
526 EnterCriticalSection( &X11DRV_CritSection
);
527 r
= XDeleteProperty(a0
, a1
, a2
);
528 LeaveCriticalSection( &X11DRV_CritSection
);
529 TRACE("Ret XDeleteProperty\n");
533 int TSXDestroyWindow(Display
* a0
, Window a1
)
536 TRACE("Call XDestroyWindow\n");
537 EnterCriticalSection( &X11DRV_CritSection
);
538 r
= XDestroyWindow(a0
, a1
);
539 LeaveCriticalSection( &X11DRV_CritSection
);
540 TRACE("Ret XDestroyWindow\n");
544 int TSXDisplayKeycodes(Display
* a0
, int* a1
, int* a2
)
547 TRACE("Call XDisplayKeycodes\n");
548 EnterCriticalSection( &X11DRV_CritSection
);
549 r
= XDisplayKeycodes(a0
, a1
, a2
);
550 LeaveCriticalSection( &X11DRV_CritSection
);
551 TRACE("Ret XDisplayKeycodes\n");
555 int TSXDrawArc(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
, int a7
, int a8
)
558 TRACE("Call XDrawArc\n");
559 EnterCriticalSection( &X11DRV_CritSection
);
560 r
= XDrawArc(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
561 LeaveCriticalSection( &X11DRV_CritSection
);
562 TRACE("Ret XDrawArc\n");
566 int TSXDrawLine(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, int a5
, int a6
)
569 TRACE("Call XDrawLine\n");
570 EnterCriticalSection( &X11DRV_CritSection
);
571 r
= XDrawLine(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
572 LeaveCriticalSection( &X11DRV_CritSection
);
573 TRACE("Ret XDrawLine\n");
577 int TSXDrawLines(Display
* a0
, Drawable a1
, GC a2
, XPoint
* a3
, int a4
, int a5
)
580 TRACE("Call XDrawLines\n");
581 EnterCriticalSection( &X11DRV_CritSection
);
582 r
= XDrawLines(a0
, a1
, a2
, a3
, a4
, a5
);
583 LeaveCriticalSection( &X11DRV_CritSection
);
584 TRACE("Ret XDrawLines\n");
588 int TSXDrawPoint(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
)
591 TRACE("Call XDrawPoint\n");
592 EnterCriticalSection( &X11DRV_CritSection
);
593 r
= XDrawPoint(a0
, a1
, a2
, a3
, a4
);
594 LeaveCriticalSection( &X11DRV_CritSection
);
595 TRACE("Ret XDrawPoint\n");
599 int TSXDrawRectangle(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
)
602 TRACE("Call XDrawRectangle\n");
603 EnterCriticalSection( &X11DRV_CritSection
);
604 r
= XDrawRectangle(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
605 LeaveCriticalSection( &X11DRV_CritSection
);
606 TRACE("Ret XDrawRectangle\n");
610 int TSXDrawSegments(Display
* a0
, Drawable a1
, GC a2
, XSegment
* a3
, int a4
)
613 TRACE("Call XDrawSegments\n");
614 EnterCriticalSection( &X11DRV_CritSection
);
615 r
= XDrawSegments(a0
, a1
, a2
, a3
, a4
);
616 LeaveCriticalSection( &X11DRV_CritSection
);
617 TRACE("Ret XDrawSegments\n");
621 int TSXDrawString16(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, const XChar2b
* a5
, int a6
)
624 TRACE("Call XDrawString16\n");
625 EnterCriticalSection( &X11DRV_CritSection
);
626 r
= XDrawString16(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
627 LeaveCriticalSection( &X11DRV_CritSection
);
628 TRACE("Ret XDrawString16\n");
632 int TSXDrawText16(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, XTextItem16
* a5
, int a6
)
635 TRACE("Call XDrawText16\n");
636 EnterCriticalSection( &X11DRV_CritSection
);
637 r
= XDrawText16(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
638 LeaveCriticalSection( &X11DRV_CritSection
);
639 TRACE("Ret XDrawText16\n");
643 int TSXFillArc(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
, int a7
, int a8
)
646 TRACE("Call XFillArc\n");
647 EnterCriticalSection( &X11DRV_CritSection
);
648 r
= XFillArc(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
649 LeaveCriticalSection( &X11DRV_CritSection
);
650 TRACE("Ret XFillArc\n");
654 int TSXFillPolygon(Display
* a0
, Drawable a1
, GC a2
, XPoint
* a3
, int a4
, int a5
, int a6
)
657 TRACE("Call XFillPolygon\n");
658 EnterCriticalSection( &X11DRV_CritSection
);
659 r
= XFillPolygon(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
660 LeaveCriticalSection( &X11DRV_CritSection
);
661 TRACE("Ret XFillPolygon\n");
665 int TSXFillRectangle(Display
* a0
, Drawable a1
, GC a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
)
668 TRACE("Call XFillRectangle\n");
669 EnterCriticalSection( &X11DRV_CritSection
);
670 r
= XFillRectangle(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
671 LeaveCriticalSection( &X11DRV_CritSection
);
672 TRACE("Ret XFillRectangle\n");
676 int TSXFlush(Display
* a0
)
679 TRACE("Call XFlush\n");
680 EnterCriticalSection( &X11DRV_CritSection
);
682 LeaveCriticalSection( &X11DRV_CritSection
);
683 TRACE("Ret XFlush\n");
687 int TSXFree(void* a0
)
690 TRACE("Call XFree\n");
691 EnterCriticalSection( &X11DRV_CritSection
);
693 LeaveCriticalSection( &X11DRV_CritSection
);
694 TRACE("Ret XFree\n");
698 int TSXFreeColormap(Display
* a0
, Colormap a1
)
701 TRACE("Call XFreeColormap\n");
702 EnterCriticalSection( &X11DRV_CritSection
);
703 r
= XFreeColormap(a0
, a1
);
704 LeaveCriticalSection( &X11DRV_CritSection
);
705 TRACE("Ret XFreeColormap\n");
709 int TSXFreeColors(Display
* a0
, Colormap a1
, unsigned long* a2
, int a3
, unsigned long a4
)
712 TRACE("Call XFreeColors\n");
713 EnterCriticalSection( &X11DRV_CritSection
);
714 r
= XFreeColors(a0
, a1
, a2
, a3
, a4
);
715 LeaveCriticalSection( &X11DRV_CritSection
);
716 TRACE("Ret XFreeColors\n");
720 int TSXFreeCursor(Display
* a0
, Cursor a1
)
723 TRACE("Call XFreeCursor\n");
724 EnterCriticalSection( &X11DRV_CritSection
);
725 r
= XFreeCursor(a0
, a1
);
726 LeaveCriticalSection( &X11DRV_CritSection
);
727 TRACE("Ret XFreeCursor\n");
731 int TSXFreeFont(Display
* a0
, XFontStruct
* a1
)
734 TRACE("Call XFreeFont\n");
735 EnterCriticalSection( &X11DRV_CritSection
);
736 r
= XFreeFont(a0
, a1
);
737 LeaveCriticalSection( &X11DRV_CritSection
);
738 TRACE("Ret XFreeFont\n");
742 int TSXFreeFontNames(char** a0
)
745 TRACE("Call XFreeFontNames\n");
746 EnterCriticalSection( &X11DRV_CritSection
);
747 r
= XFreeFontNames(a0
);
748 LeaveCriticalSection( &X11DRV_CritSection
);
749 TRACE("Ret XFreeFontNames\n");
753 int TSXFreeGC(Display
* a0
, GC a1
)
756 TRACE("Call XFreeGC\n");
757 EnterCriticalSection( &X11DRV_CritSection
);
759 LeaveCriticalSection( &X11DRV_CritSection
);
760 TRACE("Ret XFreeGC\n");
764 int TSXFreeModifiermap(XModifierKeymap
* a0
)
767 TRACE("Call XFreeModifiermap\n");
768 EnterCriticalSection( &X11DRV_CritSection
);
769 r
= XFreeModifiermap(a0
);
770 LeaveCriticalSection( &X11DRV_CritSection
);
771 TRACE("Ret XFreeModifiermap\n");
775 int TSXFreePixmap(Display
* a0
, Pixmap a1
)
778 TRACE("Call XFreePixmap\n");
779 EnterCriticalSection( &X11DRV_CritSection
);
780 r
= XFreePixmap(a0
, a1
);
781 LeaveCriticalSection( &X11DRV_CritSection
);
782 TRACE("Ret XFreePixmap\n");
786 int TSXGetFontProperty(XFontStruct
* a0
, Atom a1
, unsigned long* a2
)
789 TRACE("Call XGetFontProperty\n");
790 EnterCriticalSection( &X11DRV_CritSection
);
791 r
= XGetFontProperty(a0
, a1
, a2
);
792 LeaveCriticalSection( &X11DRV_CritSection
);
793 TRACE("Ret XGetFontProperty\n");
797 int TSXGetGeometry(Display
* a0
, Drawable a1
, Window
* a2
, int* a3
, int* a4
, unsigned int* a5
, unsigned int* a6
, unsigned int* a7
, unsigned int* a8
)
800 TRACE("Call XGetGeometry\n");
801 EnterCriticalSection( &X11DRV_CritSection
);
802 r
= XGetGeometry(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
803 LeaveCriticalSection( &X11DRV_CritSection
);
804 TRACE("Ret XGetGeometry\n");
808 int TSXGetInputFocus(Display
* a0
, Window
* a1
, int* a2
)
811 TRACE("Call XGetInputFocus\n");
812 EnterCriticalSection( &X11DRV_CritSection
);
813 r
= XGetInputFocus(a0
, a1
, a2
);
814 LeaveCriticalSection( &X11DRV_CritSection
);
815 TRACE("Ret XGetInputFocus\n");
819 int TSXGetKeyboardControl(Display
* a0
, XKeyboardState
* a1
)
822 TRACE("Call XGetKeyboardControl\n");
823 EnterCriticalSection( &X11DRV_CritSection
);
824 r
= XGetKeyboardControl(a0
, a1
);
825 LeaveCriticalSection( &X11DRV_CritSection
);
826 TRACE("Ret XGetKeyboardControl\n");
830 int TSXGetScreenSaver(Display
* a0
, int* a1
, int* a2
, int* a3
, int* a4
)
833 TRACE("Call XGetScreenSaver\n");
834 EnterCriticalSection( &X11DRV_CritSection
);
835 r
= XGetScreenSaver(a0
, a1
, a2
, a3
, a4
);
836 LeaveCriticalSection( &X11DRV_CritSection
);
837 TRACE("Ret XGetScreenSaver\n");
841 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
)
844 TRACE("Call XGetWindowProperty\n");
845 EnterCriticalSection( &X11DRV_CritSection
);
846 r
= XGetWindowProperty(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
, a10
, a11
);
847 LeaveCriticalSection( &X11DRV_CritSection
);
848 TRACE("Ret XGetWindowProperty\n");
852 int TSXGetWindowAttributes(Display
* a0
, Window a1
, XWindowAttributes
* a2
)
855 TRACE("Call XGetWindowAttributes\n");
856 EnterCriticalSection( &X11DRV_CritSection
);
857 r
= XGetWindowAttributes(a0
, a1
, a2
);
858 LeaveCriticalSection( &X11DRV_CritSection
);
859 TRACE("Ret XGetWindowAttributes\n");
863 int TSXGrabKeyboard(Display
* a0
, Window a1
, int a2
, int a3
, int a4
, Time a5
)
866 TRACE("Call XGrabKeyboard\n");
867 EnterCriticalSection( &X11DRV_CritSection
);
868 r
= XGrabKeyboard(a0
, a1
, a2
, a3
, a4
, a5
);
869 LeaveCriticalSection( &X11DRV_CritSection
);
870 TRACE("Ret XGrabKeyboard\n");
874 int TSXGrabPointer(Display
* a0
, Window a1
, int a2
, unsigned int a3
, int a4
, int a5
, Window a6
, Cursor a7
, Time a8
)
877 TRACE("Call XGrabPointer\n");
878 EnterCriticalSection( &X11DRV_CritSection
);
879 r
= XGrabPointer(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
880 LeaveCriticalSection( &X11DRV_CritSection
);
881 TRACE("Ret XGrabPointer\n");
885 int TSXGrabServer(Display
* a0
)
888 TRACE("Call XGrabServer\n");
889 EnterCriticalSection( &X11DRV_CritSection
);
891 LeaveCriticalSection( &X11DRV_CritSection
);
892 TRACE("Ret XGrabServer\n");
896 int TSXInstallColormap(Display
* a0
, Colormap a1
)
899 TRACE("Call XInstallColormap\n");
900 EnterCriticalSection( &X11DRV_CritSection
);
901 r
= XInstallColormap(a0
, a1
);
902 LeaveCriticalSection( &X11DRV_CritSection
);
903 TRACE("Ret XInstallColormap\n");
907 KeyCode
TSXKeysymToKeycode(Display
* a0
, KeySym a1
)
910 TRACE("Call XKeysymToKeycode\n");
911 EnterCriticalSection( &X11DRV_CritSection
);
912 r
= XKeysymToKeycode(a0
, a1
);
913 LeaveCriticalSection( &X11DRV_CritSection
);
914 TRACE("Ret XKeysymToKeycode\n");
918 int TSXMapWindow(Display
* a0
, Window a1
)
921 TRACE("Call XMapWindow\n");
922 EnterCriticalSection( &X11DRV_CritSection
);
923 r
= XMapWindow(a0
, a1
);
924 LeaveCriticalSection( &X11DRV_CritSection
);
925 TRACE("Ret XMapWindow\n");
929 int TSXNextEvent(Display
* a0
, XEvent
* a1
)
932 TRACE("Call XNextEvent\n");
933 EnterCriticalSection( &X11DRV_CritSection
);
934 r
= XNextEvent(a0
, a1
);
935 LeaveCriticalSection( &X11DRV_CritSection
);
936 TRACE("Ret XNextEvent\n");
940 int TSXParseGeometry(const char* a0
, int* a1
, int* a2
, unsigned int* a3
, unsigned int* a4
)
943 TRACE("Call XParseGeometry\n");
944 EnterCriticalSection( &X11DRV_CritSection
);
945 r
= XParseGeometry(a0
, a1
, a2
, a3
, a4
);
946 LeaveCriticalSection( &X11DRV_CritSection
);
947 TRACE("Ret XParseGeometry\n");
951 int TSXPending(Display
* a0
)
954 TRACE("Call XPending\n");
955 EnterCriticalSection( &X11DRV_CritSection
);
957 LeaveCriticalSection( &X11DRV_CritSection
);
958 TRACE("Ret XPending\n");
962 int TSXPutBackEvent(Display
* a0
, XEvent
* a1
)
965 TRACE("Call XPutBackEvent\n");
966 EnterCriticalSection( &X11DRV_CritSection
);
967 r
= XPutBackEvent(a0
, a1
);
968 LeaveCriticalSection( &X11DRV_CritSection
);
969 TRACE("Ret XPutBackEvent\n");
973 int TSXPutImage(Display
* a0
, Drawable a1
, GC a2
, XImage
* a3
, int a4
, int a5
, int a6
, int a7
, unsigned int a8
, unsigned int a9
)
976 TRACE("Call XPutImage\n");
977 EnterCriticalSection( &X11DRV_CritSection
);
978 r
= XPutImage(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
, a9
);
979 LeaveCriticalSection( &X11DRV_CritSection
);
980 TRACE("Ret XPutImage\n");
984 int TSXQueryColor(Display
* a0
, Colormap a1
, XColor
* a2
)
987 TRACE("Call XQueryColor\n");
988 EnterCriticalSection( &X11DRV_CritSection
);
989 r
= XQueryColor(a0
, a1
, a2
);
990 LeaveCriticalSection( &X11DRV_CritSection
);
991 TRACE("Ret XQueryColor\n");
995 int TSXQueryKeymap(Display
* a0
, char* a1
)
998 TRACE("Call XQueryKeymap\n");
999 EnterCriticalSection( &X11DRV_CritSection
);
1000 r
= XQueryKeymap(a0
, a1
);
1001 LeaveCriticalSection( &X11DRV_CritSection
);
1002 TRACE("Ret XQueryKeymap\n");
1006 int TSXQueryPointer(Display
* a0
, Window a1
, Window
* a2
, Window
* a3
, int* a4
, int* a5
, int* a6
, int* a7
, unsigned int* a8
)
1009 TRACE("Call XQueryPointer\n");
1010 EnterCriticalSection( &X11DRV_CritSection
);
1011 r
= XQueryPointer(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
1012 LeaveCriticalSection( &X11DRV_CritSection
);
1013 TRACE("Ret XQueryPointer\n");
1017 int TSXQueryTree(Display
* a0
, Window a1
, Window
* a2
, Window
* a3
, Window
** a4
, unsigned int* a5
)
1020 TRACE("Call XQueryTree\n");
1021 EnterCriticalSection( &X11DRV_CritSection
);
1022 r
= XQueryTree(a0
, a1
, a2
, a3
, a4
, a5
);
1023 LeaveCriticalSection( &X11DRV_CritSection
);
1024 TRACE("Ret XQueryTree\n");
1028 int TSXRefreshKeyboardMapping(XMappingEvent
* a0
)
1031 TRACE("Call XRefreshKeyboardMapping\n");
1032 EnterCriticalSection( &X11DRV_CritSection
);
1033 r
= XRefreshKeyboardMapping(a0
);
1034 LeaveCriticalSection( &X11DRV_CritSection
);
1035 TRACE("Ret XRefreshKeyboardMapping\n");
1039 int TSXResetScreenSaver(Display
* a0
)
1042 TRACE("Call XResetScreenSaver\n");
1043 EnterCriticalSection( &X11DRV_CritSection
);
1044 r
= XResetScreenSaver(a0
);
1045 LeaveCriticalSection( &X11DRV_CritSection
);
1046 TRACE("Ret XResetScreenSaver\n");
1050 int TSXRestackWindows(Display
* a0
, Window
* a1
, int a2
)
1053 TRACE("Call XRestackWindows\n");
1054 EnterCriticalSection( &X11DRV_CritSection
);
1055 r
= XRestackWindows(a0
, a1
, a2
);
1056 LeaveCriticalSection( &X11DRV_CritSection
);
1057 TRACE("Ret XRestackWindows\n");
1061 int TSXSendEvent(Display
* a0
, Window a1
, int a2
, long a3
, XEvent
* a4
)
1064 TRACE("Call XSendEvent\n");
1065 EnterCriticalSection( &X11DRV_CritSection
);
1066 r
= XSendEvent(a0
, a1
, a2
, a3
, a4
);
1067 LeaveCriticalSection( &X11DRV_CritSection
);
1068 TRACE("Ret XSendEvent\n");
1072 int TSXSetArcMode(Display
* a0
, GC a1
, int a2
)
1075 TRACE("Call XSetArcMode\n");
1076 EnterCriticalSection( &X11DRV_CritSection
);
1077 r
= XSetArcMode(a0
, a1
, a2
);
1078 LeaveCriticalSection( &X11DRV_CritSection
);
1079 TRACE("Ret XSetArcMode\n");
1083 int TSXSetBackground(Display
* a0
, GC a1
, unsigned long a2
)
1086 TRACE("Call XSetBackground\n");
1087 EnterCriticalSection( &X11DRV_CritSection
);
1088 r
= XSetBackground(a0
, a1
, a2
);
1089 LeaveCriticalSection( &X11DRV_CritSection
);
1090 TRACE("Ret XSetBackground\n");
1094 int TSXSetClipMask(Display
* a0
, GC a1
, Pixmap a2
)
1097 TRACE("Call XSetClipMask\n");
1098 EnterCriticalSection( &X11DRV_CritSection
);
1099 r
= XSetClipMask(a0
, a1
, a2
);
1100 LeaveCriticalSection( &X11DRV_CritSection
);
1101 TRACE("Ret XSetClipMask\n");
1105 int TSXSetClipOrigin(Display
* a0
, GC a1
, int a2
, int a3
)
1108 TRACE("Call XSetClipOrigin\n");
1109 EnterCriticalSection( &X11DRV_CritSection
);
1110 r
= XSetClipOrigin(a0
, a1
, a2
, a3
);
1111 LeaveCriticalSection( &X11DRV_CritSection
);
1112 TRACE("Ret XSetClipOrigin\n");
1116 int TSXSetClipRectangles(Display
* a0
, GC a1
, int a2
, int a3
, XRectangle
* a4
, int a5
, int a6
)
1119 TRACE("Call XSetClipRectangles\n");
1120 EnterCriticalSection( &X11DRV_CritSection
);
1121 r
= XSetClipRectangles(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
1122 LeaveCriticalSection( &X11DRV_CritSection
);
1123 TRACE("Ret XSetClipRectangles\n");
1127 int TSXSetDashes(Display
* a0
, GC a1
, int a2
, const char* a3
, int a4
)
1130 TRACE("Call XSetDashes\n");
1131 EnterCriticalSection( &X11DRV_CritSection
);
1132 r
= XSetDashes(a0
, a1
, a2
, a3
, a4
);
1133 LeaveCriticalSection( &X11DRV_CritSection
);
1134 TRACE("Ret XSetDashes\n");
1138 int TSXSetFillStyle(Display
* a0
, GC a1
, int a2
)
1141 TRACE("Call XSetFillStyle\n");
1142 EnterCriticalSection( &X11DRV_CritSection
);
1143 r
= XSetFillStyle(a0
, a1
, a2
);
1144 LeaveCriticalSection( &X11DRV_CritSection
);
1145 TRACE("Ret XSetFillStyle\n");
1149 int TSXSetFont(Display
* a0
, GC a1
, Font a2
)
1152 TRACE("Call XSetFont\n");
1153 EnterCriticalSection( &X11DRV_CritSection
);
1154 r
= XSetFont(a0
, a1
, a2
);
1155 LeaveCriticalSection( &X11DRV_CritSection
);
1156 TRACE("Ret XSetFont\n");
1160 int TSXSetForeground(Display
* a0
, GC a1
, unsigned long a2
)
1163 TRACE("Call XSetForeground\n");
1164 EnterCriticalSection( &X11DRV_CritSection
);
1165 r
= XSetForeground(a0
, a1
, a2
);
1166 LeaveCriticalSection( &X11DRV_CritSection
);
1167 TRACE("Ret XSetForeground\n");
1171 int TSXSetFunction(Display
* a0
, GC a1
, int a2
)
1174 TRACE("Call XSetFunction\n");
1175 EnterCriticalSection( &X11DRV_CritSection
);
1176 r
= XSetFunction(a0
, a1
, a2
);
1177 LeaveCriticalSection( &X11DRV_CritSection
);
1178 TRACE("Ret XSetFunction\n");
1182 int TSXSetGraphicsExposures(Display
* a0
, GC a1
, int a2
)
1185 TRACE("Call XSetGraphicsExposures\n");
1186 EnterCriticalSection( &X11DRV_CritSection
);
1187 r
= XSetGraphicsExposures(a0
, a1
, a2
);
1188 LeaveCriticalSection( &X11DRV_CritSection
);
1189 TRACE("Ret XSetGraphicsExposures\n");
1193 int TSXSetIconName(Display
* a0
, Window a1
, const char* a2
)
1196 TRACE("Call XSetIconName\n");
1197 EnterCriticalSection( &X11DRV_CritSection
);
1198 r
= XSetIconName(a0
, a1
, a2
);
1199 LeaveCriticalSection( &X11DRV_CritSection
);
1200 TRACE("Ret XSetIconName\n");
1204 int TSXSetInputFocus(Display
* a0
, Window a1
, int a2
, Time a3
)
1207 TRACE("Call XSetInputFocus\n");
1208 EnterCriticalSection( &X11DRV_CritSection
);
1209 r
= XSetInputFocus(a0
, a1
, a2
, a3
);
1210 LeaveCriticalSection( &X11DRV_CritSection
);
1211 TRACE("Ret XSetInputFocus\n");
1215 int TSXSetLineAttributes(Display
* a0
, GC a1
, unsigned int a2
, int a3
, int a4
, int a5
)
1218 TRACE("Call XSetLineAttributes\n");
1219 EnterCriticalSection( &X11DRV_CritSection
);
1220 r
= XSetLineAttributes(a0
, a1
, a2
, a3
, a4
, a5
);
1221 LeaveCriticalSection( &X11DRV_CritSection
);
1222 TRACE("Ret XSetLineAttributes\n");
1226 int TSXSetScreenSaver(Display
* a0
, int a1
, int a2
, int a3
, int a4
)
1229 TRACE("Call XSetScreenSaver\n");
1230 EnterCriticalSection( &X11DRV_CritSection
);
1231 r
= XSetScreenSaver(a0
, a1
, a2
, a3
, a4
);
1232 LeaveCriticalSection( &X11DRV_CritSection
);
1233 TRACE("Ret XSetScreenSaver\n");
1237 int TSXSetSelectionOwner(Display
* a0
, Atom a1
, Window a2
, Time a3
)
1240 TRACE("Call XSetSelectionOwner\n");
1241 EnterCriticalSection( &X11DRV_CritSection
);
1242 r
= XSetSelectionOwner(a0
, a1
, a2
, a3
);
1243 LeaveCriticalSection( &X11DRV_CritSection
);
1244 TRACE("Ret XSetSelectionOwner\n");
1248 int TSXSetSubwindowMode(Display
* a0
, GC a1
, int a2
)
1251 TRACE("Call XSetSubwindowMode\n");
1252 EnterCriticalSection( &X11DRV_CritSection
);
1253 r
= XSetSubwindowMode(a0
, a1
, a2
);
1254 LeaveCriticalSection( &X11DRV_CritSection
);
1255 TRACE("Ret XSetSubwindowMode\n");
1259 int TSXSetWindowColormap(Display
* a0
, Window a1
, Colormap a2
)
1262 TRACE("Call XSetWindowColormap\n");
1263 EnterCriticalSection( &X11DRV_CritSection
);
1264 r
= XSetWindowColormap(a0
, a1
, a2
);
1265 LeaveCriticalSection( &X11DRV_CritSection
);
1266 TRACE("Ret XSetWindowColormap\n");
1270 int TSXStoreColor(Display
* a0
, Colormap a1
, XColor
* a2
)
1273 TRACE("Call XStoreColor\n");
1274 EnterCriticalSection( &X11DRV_CritSection
);
1275 r
= XStoreColor(a0
, a1
, a2
);
1276 LeaveCriticalSection( &X11DRV_CritSection
);
1277 TRACE("Ret XStoreColor\n");
1281 int TSXStoreName(Display
* a0
, Window a1
, const char* a2
)
1284 TRACE("Call XStoreName\n");
1285 EnterCriticalSection( &X11DRV_CritSection
);
1286 r
= XStoreName(a0
, a1
, a2
);
1287 LeaveCriticalSection( &X11DRV_CritSection
);
1288 TRACE("Ret XStoreName\n");
1292 int TSXSync(Display
* a0
, int a1
)
1295 TRACE("Call XSync\n");
1296 EnterCriticalSection( &X11DRV_CritSection
);
1298 LeaveCriticalSection( &X11DRV_CritSection
);
1299 TRACE("Ret XSync\n");
1303 int TSXTextExtents16(XFontStruct
* a0
, const XChar2b
* a1
, int a2
, int* a3
, int* a4
, int* a5
, XCharStruct
* a6
)
1306 TRACE("Call XTextExtents16\n");
1307 EnterCriticalSection( &X11DRV_CritSection
);
1308 r
= XTextExtents16(a0
, a1
, a2
, a3
, a4
, a5
, a6
);
1309 LeaveCriticalSection( &X11DRV_CritSection
);
1310 TRACE("Ret XTextExtents16\n");
1314 int TSXTextWidth16(XFontStruct
* a0
, const XChar2b
* a1
, int a2
)
1317 TRACE("Call XTextWidth16\n");
1318 EnterCriticalSection( &X11DRV_CritSection
);
1319 r
= XTextWidth16(a0
, a1
, a2
);
1320 LeaveCriticalSection( &X11DRV_CritSection
);
1321 TRACE("Ret XTextWidth16\n");
1325 int TSXUngrabKeyboard(Display
* a0
, Time a1
)
1328 TRACE("Call XUngrabKeyboard\n");
1329 EnterCriticalSection( &X11DRV_CritSection
);
1330 r
= XUngrabKeyboard(a0
, a1
);
1331 LeaveCriticalSection( &X11DRV_CritSection
);
1332 TRACE("Ret XUngrabKeyboard\n");
1336 int TSXUngrabPointer(Display
* a0
, Time a1
)
1339 TRACE("Call XUngrabPointer\n");
1340 EnterCriticalSection( &X11DRV_CritSection
);
1341 r
= XUngrabPointer(a0
, a1
);
1342 LeaveCriticalSection( &X11DRV_CritSection
);
1343 TRACE("Ret XUngrabPointer\n");
1347 int TSXUngrabServer(Display
* a0
)
1350 TRACE("Call XUngrabServer\n");
1351 EnterCriticalSection( &X11DRV_CritSection
);
1352 r
= XUngrabServer(a0
);
1353 LeaveCriticalSection( &X11DRV_CritSection
);
1354 TRACE("Ret XUngrabServer\n");
1358 int TSXUninstallColormap(Display
* a0
, Colormap a1
)
1361 TRACE("Call XUninstallColormap\n");
1362 EnterCriticalSection( &X11DRV_CritSection
);
1363 r
= XUninstallColormap(a0
, a1
);
1364 LeaveCriticalSection( &X11DRV_CritSection
);
1365 TRACE("Ret XUninstallColormap\n");
1369 int TSXUnmapWindow(Display
* a0
, Window a1
)
1372 TRACE("Call XUnmapWindow\n");
1373 EnterCriticalSection( &X11DRV_CritSection
);
1374 r
= XUnmapWindow(a0
, a1
);
1375 LeaveCriticalSection( &X11DRV_CritSection
);
1376 TRACE("Ret XUnmapWindow\n");
1380 int TSXWarpPointer(Display
* a0
, Window a1
, Window a2
, int a3
, int a4
, unsigned int a5
, unsigned int a6
, int a7
, int a8
)
1383 TRACE("Call XWarpPointer\n");
1384 EnterCriticalSection( &X11DRV_CritSection
);
1385 r
= XWarpPointer(a0
, a1
, a2
, a3
, a4
, a5
, a6
, a7
, a8
);
1386 LeaveCriticalSection( &X11DRV_CritSection
);
1387 TRACE("Ret XWarpPointer\n");
1391 XIM
TSXOpenIM(Display
* a0
, struct _XrmHashBucketRec
* a1
, char* a2
, char* a3
)
1394 TRACE("Call XOpenIM\n");
1395 EnterCriticalSection( &X11DRV_CritSection
);
1396 r
= XOpenIM(a0
, a1
, a2
, a3
);
1397 LeaveCriticalSection( &X11DRV_CritSection
);
1398 TRACE("Ret XOpenIM\n");
1402 int (*TSXSynchronize(Display
*a0
, Bool a1
))(Display
*)
1404 int (*r
)(Display
*);
1405 TRACE("Call XSynchronize\n");
1406 EnterCriticalSection( &X11DRV_CritSection
);
1407 r
= XSynchronize(a0
, a1
);
1408 LeaveCriticalSection( &X11DRV_CritSection
);
1409 TRACE("Ret XSynchronize\n");
1413 extern void _XInitImageFuncPtrs(XImage
*);
1415 void TS_XInitImageFuncPtrs(XImage
*a0
)
1417 TRACE("Call _XInitImageFuncPtrs\n");
1418 EnterCriticalSection( &X11DRV_CritSection
);
1419 _XInitImageFuncPtrs(a0
);
1420 LeaveCriticalSection( &X11DRV_CritSection
);
1421 TRACE("Ret _XInitImageFuncPtrs\n");