aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-04-30 15:31:04 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-04-30 15:31:04 (GMT)
commit92c4489a7b3aca89f33c1681ce2018d1332c4da6 (patch)
treeadcf94709fbeb4102e8f45b7d7f578d61733567f
parent92d1e5fcfb5a44d6d4cfea7fdfa34bf659a377ad (diff)
downloadfluxbox-92c4489a7b3aca89f33c1681ce2018d1332c4da6.zip
fluxbox-92c4489a7b3aca89f33c1681ce2018d1332c4da6.tar.bz2
workaround for keys files broken by fluxconf
-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