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
6 * Copyright 1998 Kristian Nielsen
9 #ifndef __WINE_TS_XF86VMODE_H
10 #define __WINE_TS_XF86VMODE_H
15 #ifdef HAVE_LIBXXF86VM
20 #include <X11/extensions/xf86vmode.h>
22 extern void (*wine_tsx11_lock)(void);
23 extern void (*wine_tsx11_unlock)(void);
25 extern Bool TSXF86VidModeQueryVersion(Display*,int*,int*);
26 extern Bool TSXF86VidModeQueryExtension(Display*,int*,int*);
27 extern Bool TSXF86VidModeGetModeLine(Display*,int,int*,XF86VidModeModeLine*);
28 extern Bool TSXF86VidModeGetAllModeLines(Display*,int,int*,XF86VidModeModeInfo***);
29 extern Bool TSXF86VidModeAddModeLine(Display*,int,XF86VidModeModeInfo*,XF86VidModeModeInfo*);
30 extern Bool TSXF86VidModeDeleteModeLine(Display*,int,XF86VidModeModeInfo*);
31 extern Bool TSXF86VidModeModModeLine(Display*,int,XF86VidModeModeLine*);
32 extern Status TSXF86VidModeValidateModeLine(Display*,int,XF86VidModeModeInfo*);
33 extern Bool TSXF86VidModeSwitchMode(Display*,int,int);
34 extern Bool TSXF86VidModeSwitchToMode(Display*,int,XF86VidModeModeInfo*);
35 extern Bool TSXF86VidModeLockModeSwitch(Display*,int,int);
36 extern Bool TSXF86VidModeGetMonitor(Display*,int,XF86VidModeMonitor*);
37 extern Bool TSXF86VidModeGetViewPort(Display*,int,int*,int*);
38 extern Bool TSXF86VidModeSetViewPort(Display*,int,int,int);
40 #endif /* defined(HAVE_LIBXXF86VM) */
42 #endif /* __WINE_TS_XF86VMODE_H */