xcb_disconnect into restart

This commit is contained in:
David Hill 2012-07-12 23:04:41 -04:00 committed by Reginald Kennedy
parent 4a4ceecce4
commit d50d4826ba

View file

@ -2306,6 +2306,7 @@ restart(struct swm_region *r, union arg *args)
bar_extra = 1;
unmap_all();
xcb_flush(conn);
xcb_disconnect(conn);
execvp(start_argv[0], start_argv);
warn("execvp failed");