openbox/c/extensions.c
2003-03-16 21:11:39 +00:00

34 lines
745 B
C

#include "openbox.h"
#include "extensions.h"
gboolean extensions_xkb = FALSE;
int extensions_xkb_event_basep;
gboolean extensions_shape = FALSE;
int extensions_shape_event_basep;
gboolean extensions_xinerama = FALSE;
int extensions_xinerama_event_basep;
void extensions_query_all()
{
int junk;
(void)junk;
#ifdef XKB
extensions_xkb =
XkbQueryExtension(ob_display, &junk, &extensions_xkb_event_basep,
&junk, NULL, NULL);
#endif
#ifdef SHAPE
extensions_shape =
XShapeQueryExtension(ob_display, &extensions_shape_event_basep,
&junk);
#endif
#ifdef XINERAMA
extensions_xinerama =
XineramaQueryExtension(ob_display, &extensions_xinerama_event_basep,
&junk);
#endif
}