From 6c8acc079a9cbb40245e5df4b50b3f8b9c17cf83 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 26 Jul 2007 20:03:31 -0400 Subject: add prop.[ch] to the libobt, but they are not used yet. add a global obt_display which obt can use, and the application. --- openbox/openbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbox/openbox.c') diff --git a/openbox/openbox.c b/openbox/openbox.c index ec283d5c..79b30c0d 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -142,9 +142,9 @@ gint main(gint argc, gchar **argv) session_startup(argc, argv); } - ob_display = obt_display_open(NULL); - if (ob_display == NULL) + if (!obt_display_open(NULL)) ob_exit_with_error(_("Failed to open the display from the DISPLAY environment variable.")); + ob_display = obt_display; if (remote_control) { prop_startup(); -- cgit v1.2.3