replace 'reload' with 'restart', which merely re-exec's cwm using the

existing argv; same idea with respect to argv saving as Alexander
Polakov.  reload support was half-complete and is getting in the way.

agreed to by many
This commit is contained in:
okan
2012-10-31 19:30:19 +00:00
parent c256052308
commit 4fb420514d
9 changed files with 17 additions and 56 deletions

View File

@@ -34,6 +34,7 @@
#include "calmwm.h"
char **cwm_argv;
Display *X_Dpy;
Cursor Cursor_default;
@@ -67,6 +68,7 @@ main(int argc, char **argv)
warnx("no locale support");
mbtowc(NULL, NULL, MB_CUR_MAX);
cwm_argv = argv;
while ((ch = getopt(argc, argv, "c:d:")) != -1) {
switch (ch) {
case 'c':