summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2005-01-22 18:47:23 +0000
committersabetts <sabetts>2005-01-22 18:47:23 +0000
commit9f6c3c6c2f62812a60e8122810fff6efc32585fb (patch)
treef5c5c126785731b3032f248fc8e7f4d880a1ac33
parent7372b0456474acafc73e7662ab944734732bd70c (diff)
downloadratpoison-9f6c3c6c2f62812a60e8122810fff6efc32585fb.zip
(init_user_commands): make unmanage'd argument
optional when called non-interactively. (init_user_commands): "title" accepts 1 argument.
-rw-r--r--ChangeLog6
-rw-r--r--src/actions.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 31ee243..a9f7332 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-22 Shawn Betts <katia_dilkina@verizon.net>
+
+ * src/actions.c (init_user_commands): make unmanage'd argument
+ optional when called non-interactively.
+ (init_user_commands): "title" accepts 1 argument.
+
2005-01-20 Shawn Betts <katia_dilkina@verizon.net>
* src/actions.c (init_user_commands): fix unmanage command.
diff --git a/src/actions.c b/src/actions.c
index 72cb9c2..e8ee550 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -283,12 +283,13 @@ init_user_commands()
add_command ("startup_message", cmd_startup_message, 1, 1, 1,
"Startup message: ", arg_STRING);
add_command ("time", cmd_time, 0, 0, 0);
- add_command ("title", cmd_rename, 0, 0, 0);
+ add_command ("title", cmd_rename, 1, 1, 1,
+ "Set window's title to: ", arg_REST);
add_command ("tmpwm", cmd_tmpwm, 1, 1, 1,
"Tmp wm: ", arg_REST);
add_command ("unalias", cmd_unalias, 1, 1, 1,
"Alias: ", arg_STRING);
- add_command ("unmanage", cmd_unmanage, 1, 1, 1,
+ add_command ("unmanage", cmd_unmanage, 1, 1, 0,
"Unmanage: ", arg_REST);
add_command ("unsetenv", cmd_unsetenv, 1, 1, 1,
"Variable: ", arg_STRING);