mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 09:51:38 -05:00
XCloseDisplay no longer needed
This commit is contained in:
parent
7f2718bf2a
commit
c668926e6e
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue