X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fopenbox.c;h=4a49c8021086153ea43602024f15dbf190a324e3;hb=c716d1788bb4f4b9db403617023f06347ba48102;hp=7221556e1fb62aa94bb11d00afd6f8465d956014;hpb=617effd275a7c998d9bea686bc1a33240fd16704;p=chaz%2Fopenbox diff --git a/openbox/openbox.c b/openbox/openbox.c index 7221556e..4a49c802 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -85,7 +85,6 @@ #include #include - RrInstance *ob_rr_inst; RrImageCache *ob_rr_icons; RrTheme *ob_rr_theme; @@ -148,7 +147,6 @@ gint main(gint argc, gchar **argv) session_startup(argc, argv); } - ob_display = XOpenDisplay(NULL); if (ob_display == NULL) ob_exit_with_error(_("Failed to open the display from the DISPLAY environment variable.")); @@ -223,7 +221,6 @@ gint main(gint argc, gchar **argv) cursors[OB_CURSOR_NORTHWEST] = load_cursor("top_left_corner", XC_top_left_corner); - prop_startup(); /* get atoms values for the display */ extensions_query_all(); /* find which extensions are present */