7 #include <X11/Xutil.h> /* shape.h uses Region which is in here */
9 #include <X11/XKBlib.h>
12 #include <X11/extensions/shape.h>
15 #include <X11/extensions/Xinerama.h>
18 #include <X11/extensions/Xrandr.h>
21 #include <X11/extensions/xf86vmode.h>
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
;
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
;
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
;
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
;
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
;
51 void extensions_query_all();
53 void extensions_xinerama_screens(Rect
**areas
, guint
*nxin
);