aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-10-15 18:05:28 (GMT)
committermarkt <markt>2007-10-15 18:05:28 (GMT)
commit72130f350ef08c6200d18e544b861940cbcb7526 (patch)
treee2f789548a7e675ecb12cb2f5cda62e22552cde2 /src/Keys.cc
parent7e4f8a38531642cc9cb6cba31499d549f4c5f8a0 (diff)
downloadfluxbox-72130f350ef08c6200d18e544b861940cbcb7526.zip
fluxbox-72130f350ef08c6200d18e544b861940cbcb7526.tar.bz2
add OnWindow modifier to keys file
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 6d13cd4..34d5cc0 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -301,6 +301,8 @@ bool Keys::addBinding(const string &linebuffer) {
301 context |= ON_DESKTOP; 301 context |= ON_DESKTOP;
302 else if (strcasecmp("ontoolbar", val[argc].c_str()) == 0) 302 else if (strcasecmp("ontoolbar", val[argc].c_str()) == 0)
303 context |= ON_TOOLBAR; 303 context |= ON_TOOLBAR;
304 else if (strcasecmp("onwindow", val[argc].c_str()) == 0)
305 context |= ON_WINDOW;
304 else if (strcasecmp("NONE",val[argc].c_str())) { 306 else if (strcasecmp("NONE",val[argc].c_str())) {
305 // check if it's a mouse button 307 // check if it's a mouse button
306 if (!strcasecmp(val[argc].substr(0,5).c_str(), "mouse") && 308 if (!strcasecmp(val[argc].substr(0,5).c_str(), "mouse") &&