diff options
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") && |