diff options
author | markt <markt> | 2007-10-15 18:05:28 (GMT) |
---|---|---|
committer | markt <markt> | 2007-10-15 18:05:28 (GMT) |
commit | 72130f350ef08c6200d18e544b861940cbcb7526 (patch) | |
tree | e2f789548a7e675ecb12cb2f5cda62e22552cde2 /src/Keys.cc | |
parent | 7e4f8a38531642cc9cb6cba31499d549f4c5f8a0 (diff) | |
download | fluxbox_pavel-72130f350ef08c6200d18e544b861940cbcb7526.zip fluxbox_pavel-72130f350ef08c6200d18e544b861940cbcb7526.tar.bz2 |
add OnWindow modifier to keys file
Diffstat (limited to 'src/Keys.cc')
-rw-r--r-- | src/Keys.cc | 2 |
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") && |