2 * Thread safe wrappers around xf86vmode calls.
3 * Always include this file instead of <X11/xf86vmode.h>.
4 * This file was generated automatically by tools/make_X11wrappers
8 #ifndef __WINE_TS_XF86VMODE_H
9 #define __WINE_TS_XF86VMODE_H
11 #ifndef __WINE_CONFIG_H
12 # error You must include config.h to use this header
16 #ifdef HAVE_LIBXXF86VM
21 #include <X11/extensions/xf86vmode.h>
23 extern void (*wine_tsx11_lock
)(void);
24 extern void (*wine_tsx11_unlock
)(void);
26 extern Bool
TSXF86VidModeQueryVersion(Display
*,int*,int*);
27 extern Bool
TSXF86VidModeQueryExtension(Display
*,int*,int*);
28 extern Bool
TSXF86VidModeGetModeLine(Display
*,int,int*,XF86VidModeModeLine
*);
29 extern Bool
TSXF86VidModeGetAllModeLines(Display
*,int,int*,XF86VidModeModeInfo
***);
30 extern Bool
TSXF86VidModeAddModeLine(Display
*,int,XF86VidModeModeInfo
*,XF86VidModeModeInfo
*);
31 extern Bool
TSXF86VidModeDeleteModeLine(Display
*,int,XF86VidModeModeInfo
*);
32 extern Bool
TSXF86VidModeModModeLine(Display
*,int,XF86VidModeModeLine
*);
33 extern Status
TSXF86VidModeValidateModeLine(Display
*,int,XF86VidModeModeInfo
*);
34 extern Bool
TSXF86VidModeSwitchMode(Display
*,int,int);
35 extern Bool
TSXF86VidModeSwitchToMode(Display
*,int,XF86VidModeModeInfo
*);
36 extern Bool
TSXF86VidModeLockModeSwitch(Display
*,int,int);
37 extern Bool
TSXF86VidModeGetMonitor(Display
*,int,XF86VidModeMonitor
*);
38 extern Bool
TSXF86VidModeGetViewPort(Display
*,int,int*,int*);
39 extern Bool
TSXF86VidModeSetViewPort(Display
*,int,int,int);
41 #endif /* defined(HAVE_LIBXXF86VM) */
43 #endif /* __WINE_TS_XF86VMODE_H */