summaryrefslogtreecommitdiff
path: root/src/actions.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-09-18 06:41:30 +0000
committersabetts <sabetts>2001-09-18 06:41:30 +0000
commit445978d53f43962da85830a396aaf3acd021219a (patch)
treeed20d6913b330da251e9adb24eb7666fd7c831c2 /src/actions.h
parent5d2d31925ea817577c9293c83349fe80cb500099 (diff)
downloadratpoison-445978d53f43962da85830a396aaf3acd021219a.zip
* src/ratpoison.h (xstrdup): new prototype
* src/main.c (xstrdup): new function. All calls to strdup replaced with calls to xstrdup. (main): Keep a list of all commands pasted in through the -c command-line option. (main): execute all commands pasted in through the -c command-line option. * src/actions.h (cmd_chdir): new prototype * src/actions.c (cmd_clock): rename to cmd_time. Dependant code updated. (user_commands): rename "clock" command to "time". (cmd_chdir): new function (user_commands): new command "chdir".
Diffstat (limited to 'src/actions.h')
-rw-r--r--src/actions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/actions.h b/src/actions.h
index 3660a0c..0658c49 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -91,6 +91,7 @@ char * cmd_defwinname (int interactive, void *data);
char * cmd_deffgcolor (int interactive, void *data);
char * cmd_defbgcolor (int interactive, void *data);
char * cmd_setenv (int interactive, void *data);
+char * cmd_chdir (int interactive, void *data);
/* void cmd_xterm (void *data); */