aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-06-15 11:38:35 (GMT)
committerrathnor <rathnor>2003-06-15 11:38:35 (GMT)
commit77f43591ce5fca89e646a4d1140bc95cbe082025 (patch)
tree2cec63ed363046a549bf45d3d875025abcdbf423 /src/Keys.cc
parent1856480901f1aed0235300f17ebcf827c9bf9aac (diff)
downloadfluxbox_pavel-77f43591ce5fca89e646a4d1140bc95cbe082025.zip
fluxbox_pavel-77f43591ce5fca89e646a4d1140bc95cbe082025.tar.bz2
new keys for cycling through groups - NextGroup/PrevGroup (they are an alias
for NextWindow/PrevWindow 1
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 5913b2b..64ca79d 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.30 2003/06/10 12:18:26 fluxgen Exp $ 22//$Id: Keys.cc,v 1.31 2003/06/15 11:38:35 rathnor Exp $
23 23
24 24
25#include "Keys.hh" 25#include "Keys.hh"
@@ -102,6 +102,8 @@ Keys::t_actionstr Keys::m_actionlist[] = {
102 {"KillWindow", KILLWINDOW}, 102 {"KillWindow", KILLWINDOW},
103 {"NextWindow", NEXTWINDOW}, 103 {"NextWindow", NEXTWINDOW},
104 {"PrevWindow", PREVWINDOW}, 104 {"PrevWindow", PREVWINDOW},
105 {"NextGroup", NEXTGROUP},
106 {"PrevGroup", PREVGROUP},
105 {"NextTab", NEXTTAB}, 107 {"NextTab", NEXTTAB},
106 {"PrevTab", PREVTAB}, 108 {"PrevTab", PREVTAB},
107 {"FirstTab", FIRSTTAB}, 109 {"FirstTab", FIRSTTAB},
@@ -320,6 +322,13 @@ bool Keys::load(const char *filename) {
320 else 322 else
321 last_key->param = 0; 323 last_key->param = 0;
322 break; 324 break;
325 case NEXTGROUP:
326 case PREVGROUP:
327 if (argc + 1 < val.size())
328 last_key->param = atoi( val[argc+1].c_str()) ^ 1;
329 else
330 last_key->param = 1;
331 break;
323 case NEXTWINDOW: 332 case NEXTWINDOW:
324 case PREVWINDOW: 333 case PREVWINDOW:
325 if (argc + 1 < val.size()) 334 if (argc + 1 < val.size())