]> Dogcows Code - chaz/openbox/blob - openbox/extensions.h
i am the king of copy/paste errors
[chaz/openbox] / openbox / extensions.h
1 #ifndef __extensions_h
2 #define __extensions_h
3
4 #include "geom.h"
5
6 #include <X11/Xlib.h>
7 #ifdef XKB
8 #include <X11/XKBlib.h>
9 #endif
10 #ifdef SHAPE
11 #include <X11/extensions/shape.h>
12 #endif
13 #ifdef XINERAMA
14 #include <X11/extensions/Xinerama.h>
15 #endif
16 #ifdef XRANDR
17 #include <X11/extensions/Xrandr.h>
18 #endif
19 #ifdef VIDMODE
20 #include <X11/extensions/xf86vmode.h>
21 #endif
22
23 #include <glib.h>
24
25 /*! Does the display have the XKB extension? */
26 extern gboolean extensions_xkb;
27 /*! Base for events for the XKB extension */
28 extern int extensions_xkb_event_basep;
29
30 /*! Does the display have the Shape extension? */
31 extern gboolean extensions_shape;
32 /*! Base for events for the Shape extension */
33 extern int extensions_shape_event_basep;
34
35 /*! Does the display have the Xinerama extension? */
36 extern gboolean extensions_xinerama;
37 /*! Base for events for the Xinerama extension */
38 extern int extensions_xinerama_event_basep;
39
40 /*! Does the display have the RandR extension? */
41 extern gboolean extensions_randr;
42 /*! Base for events for the Randr extension */
43 extern int extensions_randr_event_basep;
44
45 /*! Does the display have the VidMode extension? */
46 extern gboolean extensions_vidmode;
47 /*! Base for events for the VidMode extension */
48 extern int extensions_vidmode_event_basep;
49
50 void extensions_query_all();
51
52 void extensions_xinerama_screens(Rect **areas, guint *nxin);
53
54 #endif
This page took 0.0421 seconds and 4 git commands to generate.