aboutsummaryrefslogtreecommitdiff
path: root/src/Keys.cc
diff options
context:
space:
mode:
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 76224ef..eb3d9d5 100644
--- a/src/Keys.cc
+++ b/src/Keys.cc
@@ -410,6 +410,8 @@ bool Keys::addBinding(const string &linebuffer) {
410 type = ButtonPress; 410 type = ButtonPress;
411 key = atoi(val[argc].substr(5, 411 key = atoi(val[argc].substr(5,
412 val[argc].length()-5).c_str()); 412 val[argc].length()-5).c_str());
413 if (strstr(val[argc].c_str(), "top"))
414 context = ON_DESKTOP;
413 // keycode covers the following three two-byte cases: 415 // keycode covers the following three two-byte cases:
414 // 0x - hex 416 // 0x - hex
415 // +[1-9] - number between +1 and +9 417 // +[1-9] - number between +1 and +9