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 * TSXGetKeyboardMapping(Display*, unsigned int, int, int*);
extern char * TSXResourceManagerString(Display*);
extern VisualID TSXVisualIDFromVisual(Visual*);
extern int TSXInitThreads(void);
extern XPixmapFormatValues * TSXListPixmapFormats(Display*, int*);
extern int * TSXListDepths(Display*, int, int*);

View File

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

View File

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