aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.hh
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-09-14 16:11:06 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-09-21 18:46:39 (GMT)
commit4545f4dac81f61b7e99769006888a8688eeb542c (patch)
tree975aabaae733dfec7039ad15caf5b11aa577fcac /src/Keys.hh
parent7fd13acab19dd449343fe8357946aa0c97d97f77 (diff)
downloadfluxbox-4545f4dac81f61b7e99769006888a8688eeb542c.zip
fluxbox-4545f4dac81f61b7e99769006888a8688eeb542c.tar.bz2
support OnWinButton, OnMinButton & OnMaxButton
... actions in keys. This allows to override the default behavior as well as adding actions for the mouse wheel. Special casing of the two "geometry" related buttons (eg. to perform smart maximization, reverse the partial maximzation, add shading to the min button or whatnot) All other buttons have a rather dedicated meaning and are only really interesting for adding mouse wheels or eg. the window menu on rmb clicks. Needs docu.
Diffstat (limited to 'src/Keys.hh')
-rw-r--r--src/Keys.hh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Keys.hh b/src/Keys.hh
index 7a6b3b8..a12efdb 100644
--- a/src/Keys.hh
+++ b/src/Keys.hh
@@ -53,7 +53,10 @@ public:
53 ON_LEFTGRIP = 1 << 7, 53 ON_LEFTGRIP = 1 << 7,
54 ON_RIGHTGRIP = 1 << 8, 54 ON_RIGHTGRIP = 1 << 8,
55 ON_TAB = 1 << 9, 55 ON_TAB = 1 << 9,
56 ON_SLIT = 1 << 10 56 ON_SLIT = 1 << 10,
57 ON_WINBUTTON = 1 << 11,
58 ON_MINBUTTON = 1 << 12,
59 ON_MAXBUTTON = 1 << 13
57 // and so on... 60 // and so on...
58 }; 61 };
59 62