]> Dogcows Code - chaz/openbox/blob - openbox/extensions.h
use strcmp instead of collate, since collate is slower and we're only doing an =...
[chaz/openbox] / 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 /*! Is Xinerama enabled? */
37 extern gboolean extensions_xinerama_active;
38
39 /*! Does the display have the RandR extension? */
40 extern gboolean extensions_randr;
41 /*! Base for events for the Randr extension */
42 extern int extensions_randr_event_basep;
43
44 /*! Does the display have the VidMode extension? */
45 extern gboolean extensions_vidmode;
46 /*! Base for events for the VidMode extension */
47 extern int extensions_vidmode_event_basep;
48
49 void extensions_query_all();
50
51 void extensions_xinerama_screens(Rect **xin_areas, guint *nxin);
52
53 #endif
This page took 0.03466 seconds and 4 git commands to generate.