]> Dogcows Code - chaz/openbox/blob - openbox/extensions.h
when the client for an interactive action is closed, kill the action
[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 #include <X11/Xutil.h> /* shape.h uses Region which is in here */
8 #ifdef XKB
9 #include <X11/XKBlib.h>
10 #endif
11 #ifdef SHAPE
12 #include <X11/extensions/shape.h>
13 #endif
14 #ifdef XINERAMA
15 #include <X11/extensions/Xinerama.h>
16 #endif
17 #ifdef XRANDR
18 #include <X11/extensions/Xrandr.h>
19 #endif
20 #ifdef VIDMODE
21 #include <X11/extensions/xf86vmode.h>
22 #endif
23
24 #include <glib.h>
25
26 /*! Does the display have the XKB extension? */
27 extern gboolean extensions_xkb;
28 /*! Base for events for the XKB extension */
29 extern int extensions_xkb_event_basep;
30
31 /*! Does the display have the Shape extension? */
32 extern gboolean extensions_shape;
33 /*! Base for events for the Shape extension */
34 extern int extensions_shape_event_basep;
35
36 /*! Does the display have the Xinerama extension? */
37 extern gboolean extensions_xinerama;
38 /*! Base for events for the Xinerama extension */
39 extern int extensions_xinerama_event_basep;
40
41 /*! Does the display have the RandR extension? */
42 extern gboolean extensions_randr;
43 /*! Base for events for the Randr extension */
44 extern int extensions_randr_event_basep;
45
46 /*! Does the display have the VidMode extension? */
47 extern gboolean extensions_vidmode;
48 /*! Base for events for the VidMode extension */
49 extern int extensions_vidmode_event_basep;
50
51 void extensions_query_all();
52
53 void extensions_xinerama_screens(Rect **areas, guint *nxin);
54
55 #endif
This page took 0.035092 seconds and 4 git commands to generate.