From a6bb5abfef08ddec0ebaa18bf488ccb8177361ca Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 15 Dec 2007 10:49:00 +1100 Subject: [PATCH] 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. --- awesomerc | 6 ------ config.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/awesomerc b/awesomerc index a553756dc..2f370f57a 100644 --- a/awesomerc +++ b/awesomerc @@ -283,12 +283,6 @@ keys key = "q" command = "quit" } - key - { - modkey = {"Mod4", "Control"} - key = "r" - command = "reloadconfig" - } key { diff --git a/config.h b/config.h index 087ae0a4e..743d865c1 100644 --- a/config.h +++ b/config.h @@ -254,7 +254,5 @@ struct awesome_config void parse_config(const char *, awesome_config *); -void uicb_reloadconfig(awesome_config *, const char *); - #endif // vim: filetype=c:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99