diff options
author | simon <simon> | 2008-03-23 15:09:21 +0000 |
---|---|---|
committer | simon <simon> | 2008-03-23 15:09:21 +0000 |
commit | c3aa344e7836f4214f6cff6e2fa7c0297e7da16e (patch) | |
tree | 2c07ad69a106a4c5f33744f0001e97d731969e21 /xevents.c | |
parent | 38ff7a904ede4e6412e5d89844e62b60e2c90fdb (diff) | |
download | cwm-c3aa344e7836f4214f6cff6e2fa7c0297e7da16e.tar.gz cwm-c3aa344e7836f4214f6cff6e2fa7c0297e7da16e.tar.xz cwm-c3aa344e7836f4214f6cff6e2fa7c0297e7da16e.zip |
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 'xevents.c')
-rw-r--r-- | xevents.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xevents.c b/xevents.c index 0729b49..a0f3538 100644 --- a/xevents.c +++ b/xevents.c @@ -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)); |