summaryrefslogtreecommitdiff
path: root/src/globals.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/globals.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/globals.h')
-rw-r--r--src/globals.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index 011570e..4343b80 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1,3 +1,23 @@
+/* Copyright (C) 2000, 2001, 2002, 2003 Shawn Betts
+ *
+ * This file is part of ratpoison.
+ *
+ * ratpoison is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * ratpoison is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this software; see the file COPYING. If not, write to
+ * the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307 USA
+ */
+
#ifndef GLOBALS_H
#define GLOBALS_H