summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-19 09:33:42 (GMT)
committerfluxgen <fluxgen>2002-04-19 09:33:42 (GMT)
commit9b8c02c54298b36e05ea266e80a26960b540c8f6 (patch)
tree3a87c11f1274fc7576acbdc6fef4bb86dbf258ad /src
parent7c2c942f3c545e2fb1e298aa1190485103014c77 (diff)
downloadfluxbox_lack-9b8c02c54298b36e05ea266e80a26960b540c8f6.zip
fluxbox_lack-9b8c02c54298b36e05ea266e80a26960b540c8f6.tar.bz2
added ToggleTab
Diffstat (limited to 'src')
-rw-r--r--src/Keys.cc3
-rw-r--r--src/Keys.hh3
-rw-r--r--src/fluxbox.cc6
3 files changed, 9 insertions, 3 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index 7e0d907..a8af404 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.14 2002/04/09 09:40:18 fluxgen Exp $ 22//$Id: Keys.cc,v 1.15 2002/04/19 09:33:42 fluxgen Exp $
23 23
24#ifdef HAVE_CONFIG_H 24#ifdef HAVE_CONFIG_H
25# include "config.h" 25# include "config.h"
@@ -123,6 +123,7 @@ Keys::t_actionstr Keys::m_actionlist[] = {
123 {"HorizontalDecrement", HORIZDEC}, 123 {"HorizontalDecrement", HORIZDEC},
124 {"VerticalDecrement", VERTDEC}, 124 {"VerticalDecrement", VERTDEC},
125 {"ToggleDecor", TOGGLEDECOR}, 125 {"ToggleDecor", TOGGLEDECOR},
126 {"ToggleTab", TOGGLETAB},
126 {"RootMenu", ROOTMENU}, 127 {"RootMenu", ROOTMENU},
127 {0, LASTKEYGRAB} 128 {0, LASTKEYGRAB}
128 }; 129 };
diff --git a/src/Keys.hh b/src/Keys.hh
index 31f4734..0b6e862 100644
--- a/src/Keys.hh
+++ b/src/Keys.hh
@@ -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.hh,v 1.10 2002/04/09 09:40:18 fluxgen Exp $ 22// $Id: Keys.hh,v 1.11 2002/04/19 09:33:42 fluxgen Exp $
23 23
24#ifndef KEYS_HH 24#ifndef KEYS_HH
25#define KEYS_HH 25#define KEYS_HH
@@ -53,6 +53,7 @@ public:
53 BIGNUDGERIGHT, BIGNUDGELEFT, BIGNUDGEUP, BIGNUDGEDOWN, 53 BIGNUDGERIGHT, BIGNUDGELEFT, BIGNUDGEUP, BIGNUDGEDOWN,
54 HORIZINC, VERTINC, HORIZDEC, VERTDEC, 54 HORIZINC, VERTINC, HORIZDEC, VERTDEC,
55 TOGGLEDECOR, 55 TOGGLEDECOR,
56 TOGGLETAB,
56 ROOTMENU, 57 ROOTMENU,
57 LASTKEYGRAB 58 LASTKEYGRAB
58 }; 59 };
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 3e7f475..7eaef18 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: fluxbox.cc,v 1.51 2002/04/17 06:57:10 fluxgen Exp $ 25// $Id: fluxbox.cc,v 1.52 2002/04/19 09:33:42 fluxgen Exp $
26 26
27//Use some GNU extensions 27//Use some GNU extensions
28#ifndef _GNU_SOURCE 28#ifndef _GNU_SOURCE
@@ -1444,6 +1444,10 @@ void Fluxbox::doWindowAction(Keys::KeyAction action, const int param) {
1444 break; 1444 break;
1445 case Keys::TOGGLEDECOR: 1445 case Keys::TOGGLEDECOR:
1446 focused_window->toggleDecoration(); 1446 focused_window->toggleDecoration();
1447 break;
1448 case Keys::TOGGLETAB:
1449 focused_window->setTab(!focused_window->hasTab());
1450 break;
1447 default: //do nothing 1451 default: //do nothing
1448 break; 1452 break;
1449 } 1453 }