mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Only exec the fallback when in CWM_EXEC_WM state.
Broken quit noticed by Ve Telko.
This commit is contained in:
parent
5672d5d203
commit
50c0a4eef6
4
calmwm.c
4
calmwm.c
@ -131,11 +131,11 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
x_teardown();
|
x_teardown();
|
||||||
if (cwm_status == CWM_EXEC_WM)
|
if (cwm_status == CWM_EXEC_WM) {
|
||||||
u_exec(Conf.wm_argv);
|
u_exec(Conf.wm_argv);
|
||||||
|
|
||||||
warnx("'%s' failed to start, restarting fallback", Conf.wm_argv);
|
warnx("'%s' failed to start, restarting fallback", Conf.wm_argv);
|
||||||
u_exec(fallback);
|
u_exec(fallback);
|
||||||
|
}
|
||||||
|
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user