Remove stubs for reloadconfig.
- reloadconfig never worked properly. There were a number of circumstances under which it would crash awesome. - reloadconfig always leaked memory, because our cleanup process was never perfect. Making it perfect would be Hard. - Just exec-ing awesome over the top of itself is an OK solution. Maybe we should add a uicb_restart to do this so users don't have to think about uicb_exec.
This commit is contained in:
parent
f36a56cdcc
commit
a6bb5abfef
|
@ -283,12 +283,6 @@ keys
|
||||||
key = "q"
|
key = "q"
|
||||||
command = "quit"
|
command = "quit"
|
||||||
}
|
}
|
||||||
key
|
|
||||||
{
|
|
||||||
modkey = {"Mod4", "Control"}
|
|
||||||
key = "r"
|
|
||||||
command = "reloadconfig"
|
|
||||||
}
|
|
||||||
|
|
||||||
key
|
key
|
||||||
{
|
{
|
||||||
|
|
2
config.h
2
config.h
|
@ -254,7 +254,5 @@ struct awesome_config
|
||||||
|
|
||||||
void parse_config(const char *, awesome_config *);
|
void parse_config(const char *, awesome_config *);
|
||||||
|
|
||||||
void uicb_reloadconfig(awesome_config *, const char *);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99
|
// vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99
|
||||||
|
|
Loading…
Reference in New Issue