add helper functions for manipulating the focus_order list.
[mikachu/openbox.git] / openbox / extensions.c
1 #include "openbox.h"
2 #include "extensions.h"
3
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;
10
11
12 void extensions_query_all()
13 {
14     int junk;
15     (void)junk;
16      
17 #ifdef XKB
18     extensions_xkb =
19         XkbQueryExtension(ob_display, &junk, &extensions_xkb_event_basep,
20                           &junk, NULL, NULL);
21 #endif
22
23 #ifdef SHAPE
24     extensions_shape =
25         XShapeQueryExtension(ob_display, &extensions_shape_event_basep,
26                              &junk);
27 #endif
28
29 #ifdef XINERAMA
30     extensions_xinerama =
31         XineramaQueryExtension(ob_display, &extensions_xinerama_event_basep,
32                                &junk);
33 #endif
34 }