XCloseDisplay no longer needed

This commit is contained in:
David Hill 2012-07-12 22:47:04 -04:00 committed by Reginald Kennedy
parent 7f2718bf2a
commit c668926e6e

View file

@ -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);
}