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:
Aldo Cortesi 2007-12-15 10:49:00 +11:00 committed by Julien Danjou
parent f36a56cdcc
commit a6bb5abfef
2 changed files with 0 additions and 8 deletions

View File

@ -283,12 +283,6 @@ keys
key = "q" key = "q"
command = "quit" command = "quit"
} }
key
{
modkey = {"Mod4", "Control"}
key = "r"
command = "reloadconfig"
}
key key
{ {

View File

@ -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