]> Dogcows Code - chaz/openbox/blobdiff - openbox/extensions.h
check for damage and render extensions if going to use composite. require them for...
[chaz/openbox] / openbox / extensions.h
index a097957f405b997256b430434b0466eb63c4bb91..e1070e86e55aa2d464e447d08e653d96cedf8bc9 100644 (file)
@@ -2,7 +2,7 @@
 
    extensions.h for the Openbox window manager
    Copyright (c) 2006        Mikael Magnusson
-   Copyright (c) 2003        Ben Jansens
+   Copyright (c) 2003-2007   Dana 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
 #ifdef    XRANDR
 #include <X11/extensions/Xrandr.h>
 #endif
+#ifdef    SYNC
+#include <X11/extensions/sync.h>
+#endif
+#ifdef    USE_XCOMPOSITE
+#include <X11/extensions/Xcomposite.h>
+#include <X11/extensions/Xdamage.h>
+#include <X11/extensions/Xrender.h>
+#endif
 
 #include <glib.h>
 
@@ -59,6 +67,16 @@ extern gboolean extensions_randr;
 /*! Base for events for the Randr extension */
 extern gint extensions_randr_event_basep;
 
+/*! Does the display have the Sync extension? */
+extern gboolean extensions_sync;
+/*! Base for events for the Sync extension */
+extern gint extensions_sync_event_basep;
+
+/*! Does the display have the Composite extension? */
+extern gboolean extensions_comp;
+/*! Base for events for the Composite extension */
+extern gint extensions_comp_event_basep;
+
 void extensions_query_all();
 
 void extensions_xinerama_screens(Rect **areas, guint *nxin);
This page took 0.02045 seconds and 4 git commands to generate.