diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Keys.cc | 9 |
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: |