From 5aa47abd8665f04d0e8394bea72eda2f6098ec82 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 18 Mar 2002 20:25:42 +0000 Subject: added parameter to NEXTWINDOW/PREVWINDOW --- src/Keys.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Keys.cc b/src/Keys.cc index ffc7a6e..9b15afb 100644 --- a/src/Keys.cc +++ b/src/Keys.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -//$Id: Keys.cc,v 1.12 2002/02/26 22:19:43 fluxgen Exp $ +//$Id: Keys.cc,v 1.13 2002/03/18 20:25:42 fluxgen Exp $ #ifdef HAVE_CONFIG_H # include "config.h" @@ -286,6 +286,13 @@ bool Keys::load(char *filename) { else last_key->param = 0; break; + case NEXTWINDOW: + case PREVWINDOW: + if (argc + 1 < val.size()) + last_key->param = atoi( val[argc+1].c_str()); + else + last_key->param = 0; + break; case LEFTWORKSPACE: case RIGHTWORKSPACE: case NEXTWORKSPACE: -- cgit v0.11.2