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:
2
calmwm.c
2
calmwm.c
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user