aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
authorJulien Viard de Galbert <julien@vdg.blogsite.org>2012-11-06 20:04:57 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2012-11-07 08:41:49 (GMT)
commit5c5ad62846f9041684458c0ed38c4b135b7f294d (patch)
tree7543fbc124f1f7a175ef000f248129f85f06d9e5 /src/Keys.cc
parente8f2e964c6a88e357bbc09b66cd3490cf9eed5ef (diff)
downloadfluxbox-5c5ad62846f9041684458c0ed38c4b135b7f294d.zip
fluxbox-5c5ad62846f9041684458c0ed38c4b135b7f294d.tar.bz2
Adds the OnTab keyword for the keys file
Adding the following lines to the keys file restore the old behaviour to use Mouse2 on tabs to start tabbing, and keep OnTitlebar Mouse2 to lower the window. OnTab Mouse2 :StartTabbing OnTab Move1 :StartMoving Note: Internal tabs are triggering both OnTab and OnTitlebar events.
Diffstat (limited to 'src/Keys.cc')
-rw-r--r--src/Keys.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Keys.cc b/src/Keys.cc
index f91c92e..c4ad5ea 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -405,6 +405,8 @@ bool Keys::addBinding(const string &linebuffer) {
405 context |= ON_LEFTGRIP; 405 context |= ON_LEFTGRIP;
406 else if (arg == "onrightgrip") 406 else if (arg == "onrightgrip")
407 context |= ON_RIGHTGRIP; 407 context |= ON_RIGHTGRIP;
408 else if (arg == "ontab")
409 context |= ON_TAB;
408 else if (arg == "double") 410 else if (arg == "double")
409 isdouble = true; 411 isdouble = true;
410 else if (arg != "none") { 412 else if (arg != "none") {