From cf843449115562fe44be792e37bd78639414da4e Mon Sep 17 00:00:00 2001 From: sabetts Date: Fri, 16 May 2003 23:25:06 +0000 Subject: * src/window.c (add_to_window_list): add the window to the current group. (find_window_name): search the current group for a matching window. (find_window_other): likewise. (format_window_name): take a rp_window_elem as an argument, not an rp_window. Print the group window's number, not the window's internal number. (get_window_list): loop through the current group. * src/split.c (find_window_for_frame): search the current group for a window to fit in the frame. * src/ratpoison.h: include globals.h and group.h * src/manage.c (unmanage): remove the window from any groups it was in. (map_window): map the window in any groups it is in. (withdraw_window): unmap the window in any groups it is in. * src/main.c: Move all globals to globals.h (main): initialize the group functions. * src/data.h: Move all defines and extern globals to globals.h (struct rp_window_elem): new struct (struct rp_group): likewise * src/actions.h (cmd_gnext): new prototype (cmd_gprev): likewise (cmd_gnew): likewise * src/actions.c (user_commands): new commands gnext, gprev, and gnew (cmd_prev): fix to work with new group code. (cmd_next): likewise (cmd_gnext): new function (cmd_gprev): likewise (cmd_gnew): likewise * src/Makefile.am (ratpoison_SOURCES): add files globals.h, globals.c, group.h and group.c --- NEWS | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 2a29011..62068ff 100644 --- a/NEWS +++ b/NEWS @@ -1,11 +1,14 @@ ratpoison NEWS --- history of user-visible changes. -*- outline -*- * Changes since 1.2.0-beta5 -** command return status +** shell commands return status If a command the user executed (with the exec command) returns with a non-zero exit status, the command and exit status are reported in a message. +** new commands gnew, gnext, gprev +Window are now part of groups. There can be more than one group. + * Changes since 1.2.0-beta4 ** new commands unmanage and clrunmanaged Instead of editing conf.h you can use these commands to dynamically -- cgit v1.2.3