+/*! 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);
+
+void obt_display_ignore_errors(gboolean ignore);
+
+#define obt_root(screen) (RootWindow(obt_display, screen))