]> Dogcows Code - chaz/openbox/blobdiff - obt/display.h
figure out what type the value should be for each known .desktop key, and watch for...
[chaz/openbox] / obt / display.h
index 5626f268ddb2f99712792b342ef5fbb08e685690..b5816a9a58e5770e0910297e09f752cb4afa8c5b 100644 (file)
@@ -56,11 +56,15 @@ extern gint     obt_display_extension_sync_basep;
 
 extern Display* obt_display;
 
+/*! Open the X display.  You should call g_set_prgname() before calling this
+  function for X Input Methods to work correctly. */
 gboolean obt_display_open(const char *display_name);
-void     obt_display_close();
+void     obt_display_close(void);
 
 void     obt_display_ignore_errors(gboolean ignore);
 
+#define  obt_root(screen) (RootWindow(obt_display, screen))
+
 G_END_DECLS
 
 #endif /*__obt_display_h*/
This page took 0.022359 seconds and 4 git commands to generate.