Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f2718b
)
XCloseDisplay no longer needed
author
David Hill
<dhill@conformal.com>
Fri, 13 Jul 2012 02:47:04 +0000
(22:47 -0400)
committer
Reginald Kennedy
<rk@rejii.com>
Fri, 20 Jul 2012 21:58:33 +0000
(
05:58
+0800)
spectrwm.c
patch
|
blob
|
history
diff --git
a/spectrwm.c
b/spectrwm.c
index
9e35632
..
933ed3d
100644
(file)
--- 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);
}