merge the C branch into HEAD
[openbox.git] / c / extensions.c
blob3fe4319430e5cdc59bbf0b06e32585223787a846
1 #include "openbox.h"
2 #include "extensions.h"
4 gboolean extensions_xkb = FALSE;
5 int extensions_xkb_event_basep;
6 gboolean extensions_shape = FALSE;
7 int extensions_shape_event_basep;
8 gboolean extensions_xinerama = FALSE;
9 int extensions_xinerama_event_basep;
12 void extensions_query_all()
14 int junk;
15 (void)junk;
17 #ifdef XKB
18 extensions_xkb =
19 XkbQueryExtension(ob_display, &junk, &extensions_xkb_event_basep,
20 &junk, NULL, NULL);
21 #endif
23 #ifdef SHAPE
24 extensions_shape =
25 XShapeQueryExtension(ob_display, &extensions_shape_event_basep,
26 &junk);
27 #endif
29 #ifdef XINERAMA
30 extensions_xinerama =
31 XineramaQueryExtension(ob_display, &extensions_xinerama_event_basep,
32 &junk);
33 #endif