summaryrefslogtreecommitdiff
path: root/src/actions.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2005-01-22 19:29:36 +0000
committersabetts <sabetts>2005-01-22 19:29:36 +0000
commitfee7a3ae27a66f2cbaca17944978bbff30e60089 (patch)
treefe596591a08065f77ae6e33fa2f41e343ef51bc5 /src/actions.h
parent9f6c3c6c2f62812a60e8122810fff6efc32585fb (diff)
downloadratpoison-fee7a3ae27a66f2cbaca17944978bbff30e60089.zip
* src/actions.h (argtype): add arg_RAW
* src/actions.c (init_user_commands): make unmanage'd argument optional when called non-interactively. (init_user_commands): "title" accepts 1 argument. (init_user_commands): "echo" and "putsel" take a raw argument. (read_arg): parse arg_RAW (parse_args): take a raw argument. gobble whitespace when we've hit nargs and raw is false. callers updated. (command): don't gobble whitespace after reading the command. set nargs when the argtype is arg_RAW, too. (cmd_set): set nargs when the argtype is arg_RAW, too.
Diffstat (limited to 'src/actions.h')
-rw-r--r--src/actions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.h b/src/actions.h
index a9e06b2..766cd01 100644
--- a/src/actions.h
+++ b/src/actions.h
@@ -33,7 +33,7 @@ typedef struct user_command user_command;
enum argtype { arg_REST, arg_NUMBER, arg_STRING, arg_FRAME,
arg_WINDOW, arg_COMMAND, arg_SHELLCMD,
arg_KEYMAP, arg_KEY, arg_GRAVITY, arg_GROUP,
- arg_HOOK, arg_VARIABLE };
+ arg_HOOK, arg_VARIABLE, arg_RAW};
union arg_union {
rp_frame *frame;