]> icculus.org git repositories - mikachu/openbox.git/blob - openbox/extensions.h
add stubs for pipecross and rectangle
[mikachu/openbox.git] / openbox / extensions.h
1 #ifndef __extensions_h
2 #define __extensions_h
3
4 #include <X11/Xlib.h>
5 #ifdef    XKB
6 #include <X11/XKBlib.h>
7 #endif
8 #ifdef    SHAPE
9 #include <X11/extensions/shape.h>
10 #endif
11 #ifdef    XINERAMA
12 #include <X11/extensions/Xinerama.h>
13 #endif
14 #ifdef    XRANDR
15 #include <X11/extensions/Xrandr.h>
16 #endif
17 #ifdef    VIDMODE
18 #include <X11/extensions/xf86vmode.h>
19 #endif
20 #include <glib.h>
21
22 /*! Does the display have the XKB extension? */
23 extern gboolean extensions_xkb;
24 /*! Base for events for the XKB extension */
25 extern int extensions_xkb_event_basep;
26
27 /*! Does the display have the Shape extension? */
28 extern gboolean extensions_shape;
29 /*! Base for events for the Shape extension */
30 extern int extensions_shape_event_basep;
31
32 /*! Does the display have the Xinerama extension? */
33 extern gboolean extensions_xinerama;
34 /*! Base for events for the Xinerama extension */
35 extern int extensions_xinerama_event_basep;
36
37 /*! Does the display have the RandR extension? */
38 extern gboolean extensions_randr;
39 /*! Base for events for the Randr extension */
40 extern int extensions_randr_event_basep;
41
42 /*! Does the display have the VidMode extension? */
43 extern gboolean extensions_vidmode;
44 /*! Base for events for the VidMode extension */
45 extern int extensions_vidmode_event_basep;
46
47 void extensions_query_all();
48   
49 #endif