c/extensions.h (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
#ifndef __extensions_h #define __extensions_h #include <X11/Xlib.h> #ifdef XKB #include <X11/XKBlib.h> #endif #ifdef SHAPE #include <X11/extensions/shape.h> #endif #ifdef XINERAMA #include <X11/extensions/Xinerama.h> #endif #include <glib.h> /*! Does the display have the XKB extension? */ extern gboolean extensions_xkb; /*! Base for events for the XKB extension */ extern int extensions_xkb_event_basep; /*! Does the display have the Shape extension? */ extern gboolean extensions_shape; /*! Base for events for the Shape extension */ extern int extensions_shape_event_basep; /*! Does the display have the Xinerama extension? */ extern gboolean extensions_xinerama; /*! Base for events for the Xinerama extension */ extern int extensions_xinerama_event_basep; void extensions_query_all(); #endif |