Added XVisualIDFromVisual to tsx11 list.

This commit is contained in:
Gavriel State 2002-02-25 19:01:26 +00:00 committed by Alexandre Julliard
parent 019ae8a22f
commit 63df733a0c
3 changed files with 11 additions and 0 deletions

View File

@ -42,6 +42,7 @@ extern KeySym TSXKeycodeToKeysym(Display*, unsigned int, int);
extern KeySym TSXLookupKeysym(XKeyEvent*, int); extern KeySym TSXLookupKeysym(XKeyEvent*, int);
extern KeySym * TSXGetKeyboardMapping(Display*, unsigned int, int, int*); extern KeySym * TSXGetKeyboardMapping(Display*, unsigned int, int, int*);
extern char * TSXResourceManagerString(Display*); extern char * TSXResourceManagerString(Display*);
extern VisualID TSXVisualIDFromVisual(Visual*);
extern int TSXInitThreads(void); extern int TSXInitThreads(void);
extern XPixmapFormatValues * TSXListPixmapFormats(Display*, int*); extern XPixmapFormatValues * TSXListPixmapFormats(Display*, int*);
extern int * TSXListDepths(Display*, int, int*); extern int * TSXListDepths(Display*, int, int*);

View File

@ -175,6 +175,7 @@ XUnionRectWithRegion
XUnionRegion XUnionRegion
XUniqueContext XUniqueContext
XUnmapWindow XUnmapWindow
XVisualIDFromVisual
XWarpPointer XWarpPointer
XXorRegion XXorRegion
XrmGetFileDatabase XrmGetFileDatabase

View File

@ -226,6 +226,15 @@ char * TSXResourceManagerString(Display* a0)
return r; return r;
} }
VisualID TSXVisualIDFromVisual(Visual* a0)
{
VisualID r;
wine_tsx11_lock();
r = XVisualIDFromVisual(a0);
wine_tsx11_unlock();
return r;
}
int TSXInitThreads(void) int TSXInitThreads(void)
{ {
int r; int r;