summaryrefslogtreecommitdiff
path: root/src/messages.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-05-25 10:56:19 +0000
committersabetts <sabetts>2003-05-25 10:56:19 +0000
commite6f71abbce1ae8f8dc840b56aa4f3ccd36ebd735 (patch)
tree5270321337709993548139d4caee6be1353d94b1 /src/messages.h
parentb6d1a9b5096e8e26acbe392ca44216d8573427e4 (diff)
downloadratpoison-e6f71abbce1ae8f8dc840b56aa4f3ccd36ebd735.zip
* src/window.c: do not include ctype.h
* src/ratpoison.h (str_comp): new prototype * src/messages.h (MESSAGE_PROMPT_SWITCH_TO_GROUP): new define * src/main.c: include ctype.h (str_comp): moved from window.c * src/group.h (groups_find_group_by_name): new prototype. (groups_find_group_by_number): likewise. (groups_merge): likewise (group_move_window): likewise * src/group.c: include string.h (group_new): new argument, name. All callers updated. prototype updated. (init_groups): create the first group with DEFAULT_GROUP_NAME as its name. (group_new): new argument, name. All callers updated. Prototype updated. (group_free): free the group's name. (group_add_new_group): new argument, name. All callers updated. Prototype updated. (groups_find_group_by_name): new function (groups_find_group_by_number): likewise (group_move_window): likewise (groups_merge): likewise * src/conf.h (DEFAULT_GROUP_NAME): new define * src/actions.h (cmd_gselect): new prototype (cmd_groups): likewise (cmd_gmove): likewise (cmd_gmerge): likewise (cmd_gnewbg): likewise * src/actions.c (user_commands): new commands gselect, groups, gmove, gmerge, gnewbg. (cmd_gnewbg): new function (find_group): likewise (cmd_gselect): likewise (cmd_groups): likewise (cmd_gmove): likewise (cmd_gmerge): likewise
Diffstat (limited to 'src/messages.h')
-rw-r--r--src/messages.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/messages.h b/src/messages.h
index 2da2734..65ee6d2 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -1,5 +1,5 @@
/* Ratpoison messages.
- * Copyright (C) 2000, 2001 Shawn Betts
+ * Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts
*
* This file is part of ratpoison.
*
@@ -41,6 +41,7 @@
#define MESSAGE_PROMPT_COMMAND ":"
#define MESSAGE_PROMPT_SWITCH_WM " Switch to wm: "
#define MESSAGE_PROMPT_XTERM_COMMAND MESSAGE_PROMPT_SHELL_COMMAND TERM_PROG " -e "
+#define MESSAGE_PROMPT_SWITCH_TO_GROUP " Switch to group: "
#define MESSAGE_WELCOME " Welcome to ratpoison! Hit `%s %s' for help. "
#define MESSAGE_FRAME_STRING " Current Frame "