]> Dogcows Code - chaz/openbox/blob - openbox/extensions.h
formatting, add an assert
[chaz/openbox] / openbox / extensions.h
1 /* -*- indent-tabs-mode: nil; tab-width: 4; c-basic-offset: 4; -*-
2
3 extensions.h for the Openbox window manager
4 Copyright (c) 2003 Ben Jansens
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 See the COPYING file for a copy of the GNU General Public License.
17 */
18
19 #ifndef __extensions_h
20 #define __extensions_h
21
22 #include "geom.h"
23
24 #include <X11/Xlib.h>
25 #include <X11/Xutil.h> /* shape.h uses Region which is in here */
26 #ifdef XKB
27 #include <X11/XKBlib.h>
28 #endif
29 #ifdef SHAPE
30 #include <X11/extensions/shape.h>
31 #endif
32 #ifdef XINERAMA
33 #include <X11/extensions/Xinerama.h>
34 #endif
35 #ifdef XRANDR
36 #include <X11/extensions/Xrandr.h>
37 #endif
38 #ifdef VIDMODE
39 #include <X11/extensions/xf86vmode.h>
40 #endif
41
42 #include <glib.h>
43
44 /*! Does the display have the XKB extension? */
45 extern gboolean extensions_xkb;
46 /*! Base for events for the XKB extension */
47 extern int extensions_xkb_event_basep;
48
49 /*! Does the display have the Shape extension? */
50 extern gboolean extensions_shape;
51 /*! Base for events for the Shape extension */
52 extern int extensions_shape_event_basep;
53
54 /*! Does the display have the Xinerama extension? */
55 extern gboolean extensions_xinerama;
56 /*! Base for events for the Xinerama extension */
57 extern int extensions_xinerama_event_basep;
58
59 /*! Does the display have the RandR extension? */
60 extern gboolean extensions_randr;
61 /*! Base for events for the Randr extension */
62 extern int extensions_randr_event_basep;
63
64 /*! Does the display have the VidMode extension? */
65 extern gboolean extensions_vidmode;
66 /*! Base for events for the VidMode extension */
67 extern int extensions_vidmode_event_basep;
68
69 void extensions_query_all();
70
71 void extensions_xinerama_screens(Rect **areas, guint *nxin);
72
73 #endif
This page took 0.035345 seconds and 4 git commands to generate.