6 #include <X11/XKBlib.h>
9 #include <X11/extensions/shape.h>
12 #include <X11/extensions/Xinerama.h>
15 #include <X11/extensions/Xrandr.h>
18 #include <X11/extensions/xf86vmode.h>
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
;
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
;
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
;
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
;
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
;
49 void extensions_query_all();
51 void extensions_xinerama_screens(Rect
**xin_areas
, guint
*nxin
);