diff options
author | simon | 2008-03-23 15:09:21 +0000 |
---|---|---|
committer | simon | 2008-03-23 15:09:21 +0000 |
commit | c4305125daf980f2946ab783a9e7b41f64db86a6 (patch) | |
tree | e224a57c65a6cbea07dcd258114830e36a339b6f /xevents.c | |
parent | d9fdf622d3c096c997dc709afe0be62e4599d500 (diff) | |
download | cwm-c4305125daf980f2946ab783a9e7b41f64db86a6.tar.gz |
Replace the symlink configuration scheme with a simple yacc parser as
found in other places of the tree. Remove sticky and font commandline
options and add another one for alternative config locations.
Split off cwmrc(5) from cwm(1), nuke #ifdef __OpenBSD__ while there.
tested by various kind people, feedback from oga@ and okan@ - thanks!
ok oga@, jasper@, okan@
Diffstat (limited to '')
-rw-r--r-- | xevents.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: xevents.c,v 1.7 2008/03/22 15:09:45 oga Exp $ + * $Id: xevents.c,v 1.8 2008/03/23 15:09:21 simon Exp $ */ /* @@ -275,10 +275,7 @@ xev_handle_buttonpress(struct xevent *xev, XEvent *ee) break; case Button3: { struct cmd *cmd; - if (conf_cmd_changed(Conf.menu_path)) { - conf_cmd_clear(&Conf); - conf_cmd_populate(&Conf, Conf.menu_path); - } + conf_reload(&Conf); TAILQ_FOREACH(cmd, &Conf.cmdq, entry) { XCALLOC(mi, struct menu); strlcpy(mi->text, cmd->label, sizeof(mi->text)); |