added ToggleTab
This commit is contained in:
parent
7c2c942f3c
commit
9b8c02c542
3 changed files with 9 additions and 3 deletions
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
//$Id: Keys.cc,v 1.14 2002/04/09 09:40:18 fluxgen Exp $
|
//$Id: Keys.cc,v 1.15 2002/04/19 09:33:42 fluxgen Exp $
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
|
@ -123,6 +123,7 @@ Keys::t_actionstr Keys::m_actionlist[] = {
|
||||||
{"HorizontalDecrement", HORIZDEC},
|
{"HorizontalDecrement", HORIZDEC},
|
||||||
{"VerticalDecrement", VERTDEC},
|
{"VerticalDecrement", VERTDEC},
|
||||||
{"ToggleDecor", TOGGLEDECOR},
|
{"ToggleDecor", TOGGLEDECOR},
|
||||||
|
{"ToggleTab", TOGGLETAB},
|
||||||
{"RootMenu", ROOTMENU},
|
{"RootMenu", ROOTMENU},
|
||||||
{0, LASTKEYGRAB}
|
{0, LASTKEYGRAB}
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Keys.hh,v 1.10 2002/04/09 09:40:18 fluxgen Exp $
|
// $Id: Keys.hh,v 1.11 2002/04/19 09:33:42 fluxgen Exp $
|
||||||
|
|
||||||
#ifndef KEYS_HH
|
#ifndef KEYS_HH
|
||||||
#define KEYS_HH
|
#define KEYS_HH
|
||||||
|
@ -53,6 +53,7 @@ public:
|
||||||
BIGNUDGERIGHT, BIGNUDGELEFT, BIGNUDGEUP, BIGNUDGEDOWN,
|
BIGNUDGERIGHT, BIGNUDGELEFT, BIGNUDGEUP, BIGNUDGEDOWN,
|
||||||
HORIZINC, VERTINC, HORIZDEC, VERTDEC,
|
HORIZINC, VERTINC, HORIZDEC, VERTDEC,
|
||||||
TOGGLEDECOR,
|
TOGGLEDECOR,
|
||||||
|
TOGGLETAB,
|
||||||
ROOTMENU,
|
ROOTMENU,
|
||||||
LASTKEYGRAB
|
LASTKEYGRAB
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: fluxbox.cc,v 1.51 2002/04/17 06:57:10 fluxgen Exp $
|
// $Id: fluxbox.cc,v 1.52 2002/04/19 09:33:42 fluxgen Exp $
|
||||||
|
|
||||||
//Use some GNU extensions
|
//Use some GNU extensions
|
||||||
#ifndef _GNU_SOURCE
|
#ifndef _GNU_SOURCE
|
||||||
|
@ -1444,6 +1444,10 @@ void Fluxbox::doWindowAction(Keys::KeyAction action, const int param) {
|
||||||
break;
|
break;
|
||||||
case Keys::TOGGLEDECOR:
|
case Keys::TOGGLEDECOR:
|
||||||
focused_window->toggleDecoration();
|
focused_window->toggleDecoration();
|
||||||
|
break;
|
||||||
|
case Keys::TOGGLETAB:
|
||||||
|
focused_window->setTab(!focused_window->hasTab());
|
||||||
|
break;
|
||||||
default: //do nothing
|
default: //do nothing
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue