From: David Hill Date: Fri, 13 Jul 2012 02:47:04 +0000 (-0400) Subject: XCloseDisplay no longer needed X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;ds=inline;h=c668926e6e4ba382205448ee85adb176427c3286;hp=7f2718bf2a6c814e138f4f70d5b04ef20a46eb8a;p=spectrwm.git XCloseDisplay no longer needed --- diff --git a/spectrwm.c b/spectrwm.c index 9e35632..933ed3d 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -2305,7 +2305,6 @@ restart(struct swm_region *r, union arg *args) bar_extra_stop(); bar_extra = 1; unmap_all(); - XCloseDisplay(display); execvp(start_argv[0], start_argv); warn("execvp failed"); quit(NULL, NULL); @@ -7968,7 +7967,6 @@ done: xcb_free_gc(conn, screens[i].bar_gc); XFreeFontSet(display, bar_fs); xcb_disconnect(conn); - XCloseDisplay(display); return (0); }