]> Dogcows Code - chaz/openbox/blobdiff - openbox/extensions.h
add copyright headers, adjust --version output to include copyright, and --help outpu...
[chaz/openbox] / openbox / extensions.h
index c07076e787cd8527f9230a1ab48e6db708286af1..2d938e2297d1370bb5c30d3925ce170eea4ce334 100644 (file)
@@ -1,7 +1,28 @@
+/* -*- indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
+
+   extensions.h for the Openbox window manager
+   Copyright (c) 2003        Ben Jansens
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   See the COPYING file for a copy of the GNU General Public License.
+*/
+
 #ifndef __extensions_h
 #define __extensions_h
 
+#include "geom.h"
+
 #include <X11/Xlib.h>
+#include <X11/Xutil.h> /* shape.h uses Region which is in here */
 #ifdef    XKB
 #include <X11/XKBlib.h>
 #endif
@@ -17,6 +38,7 @@
 #ifdef    VIDMODE
 #include <X11/extensions/xf86vmode.h>
 #endif
+
 #include <glib.h>
 
 /*! Does the display have the XKB extension? */
@@ -33,8 +55,6 @@ extern int extensions_shape_event_basep;
 extern gboolean extensions_xinerama;
 /*! Base for events for the Xinerama extension */
 extern int extensions_xinerama_event_basep;
-/*! Is Xinerama enabled? */
-extern gboolean extensions_xinerama_active;
 
 /*! Does the display have the RandR extension? */
 extern gboolean extensions_randr;
@@ -48,6 +68,6 @@ extern int extensions_vidmode_event_basep;
 
 void extensions_query_all();
 
-void extensions_xinerama_screens(Rect **xin_areas, guint *nxin);
-
+void extensions_xinerama_screens(Rect **areas, guint *nxin);
+  
 #endif
This page took 0.024421 seconds and 4 git commands to generate.