aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-03-18 20:25:42 (GMT)
committerfluxgen <fluxgen>2002-03-18 20:25:42 (GMT)
commit5aa47abd8665f04d0e8394bea72eda2f6098ec82 (patch)
treee8a61d349cea258219cdded80112af4508a2e25a
parentc6b11959cfa91b472ee6cc17ea45a1c6c5670c03 (diff)
downloadfluxbox-5aa47abd8665f04d0e8394bea72eda2f6098ec82.zip
fluxbox-5aa47abd8665f04d0e8394bea72eda2f6098ec82.tar.bz2
added parameter to NEXTWINDOW/PREVWINDOW
-rw-r--r--src/Keys.cc9
1 files changed, 8 insertions, 1 deletions
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 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22//$Id: Keys.cc,v 1.12 2002/02/26 22:19:43 fluxgen Exp $ 22//$Id: Keys.cc,v 1.13 2002/03/18 20:25:42 fluxgen Exp $
23 23
24#ifdef HAVE_CONFIG_H 24#ifdef HAVE_CONFIG_H
25# include "config.h" 25# include "config.h"
@@ -286,6 +286,13 @@ bool Keys::load(char *filename) {
286 else 286 else
287 last_key->param = 0; 287 last_key->param = 0;
288 break; 288 break;
289 case NEXTWINDOW:
290 case PREVWINDOW:
291 if (argc + 1 < val.size())
292 last_key->param = atoi( val[argc+1].c_str());
293 else
294 last_key->param = 0;
295 break;
289 case LEFTWORKSPACE: 296 case LEFTWORKSPACE:
290 case RIGHTWORKSPACE: 297 case RIGHTWORKSPACE:
291 case NEXTWORKSPACE: 298 case NEXTWORKSPACE: