=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/Attic/cmd-next-window.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/tmux/Attic/cmd-next-window.c 2009/06/03 15:58:40 1.2 --- src/usr.bin/tmux/Attic/cmd-next-window.c 2009/07/13 23:11:35 1.3 *************** *** 1,4 **** ! /* $OpenBSD: cmd-next-window.c,v 1.2 2009/06/03 15:58:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: cmd-next-window.c,v 1.3 2009/07/13 23:11:35 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 30,36 **** const struct cmd_entry cmd_next_window_entry = { "next-window", "next", "[-a] " CMD_TARGET_SESSION_USAGE, ! CMD_AFLAG, cmd_next_window_init, cmd_target_parse, cmd_next_window_exec, --- 30,36 ---- const struct cmd_entry cmd_next_window_entry = { "next-window", "next", "[-a] " CMD_TARGET_SESSION_USAGE, ! 0, CMD_CHFLAG('a'), cmd_next_window_init, cmd_target_parse, cmd_next_window_exec, *************** *** 49,55 **** data = self->data; if (key == KEYC_ADDESC('n')) ! data->flags |= CMD_AFLAG; } int --- 49,55 ---- data = self->data; if (key == KEYC_ADDESC('n')) ! data->chflags |= CMD_CHFLAG('a'); } int *************** *** 63,69 **** return (-1); activity = 0; ! if (data->flags & CMD_AFLAG) activity = 1; if (session_next(s, activity) == 0) --- 63,69 ---- return (-1); activity = 0; ! if (data->chflags & CMD_CHFLAG('a')) activity = 1; if (session_next(s, activity) == 0)