]> Dogcows Code - chaz/openbox/blobdiff - openbox/openbox.h
fixed to accomodate the changes to the render/ API.
[chaz/openbox] / openbox / openbox.h
index 70e511365c1984439c9e81f927c006c0747b78c0..eec3fd7c37d312ee9bd079908e64745c906d4078 100644 (file)
@@ -1,11 +1,25 @@
 #ifndef __openbox_h
 #define __openbox_h
 
+#include "render/render.h"
+
+#ifdef USE_LIBSN
+#  define SN_API_NOT_YET_FROZEN
+#  include <libsn/sn.h>
+#endif
+
 #include <glib.h>
 #include <X11/Xlib.h>
 
+extern RrInstance *ob_rr_inst;
+
 /*! The X display */
 extern Display *ob_display; 
+
+#ifdef USE_LIBSN
+SnDisplay *ob_sn_display;
+#endif
+
 /*! The number of the screen on which we're running */
 extern int      ob_screen;
 /*! The root window */
@@ -36,15 +50,23 @@ extern gboolean ob_sync;
 
 typedef struct Cursors {
     Cursor ptr;
+    Cursor busy;
     Cursor move;
     Cursor bl;
     Cursor br;
     Cursor tl;
     Cursor tr;
+    Cursor t;
+    Cursor r;
+    Cursor b;
+    Cursor l;
 } Cursors;
 extern Cursors ob_cursors;
 
 /*! The path of the rc file. If NULL the default paths are searched for one. */
 extern char *ob_rc_path;
 
+/* cuz i have nowhere better to put it right now... */
+gboolean ob_pointer_pos(int *x, int *y);
+
 #endif
This page took 0.024291 seconds and 4 git commands to generate.