From 92c4489a7b3aca89f33c1681ce2018d1332c4da6 Mon Sep 17 00:00:00 2001 From: Mark Tiefenbruck Date: Wed, 30 Apr 2008 08:31:04 -0700 Subject: workaround for keys files broken by fluxconf --- src/Keys.cc | 2 ++ 1 file changed, 2 insertions(+) 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) { type = ButtonPress; key = atoi(val[argc].substr(5, val[argc].length()-5).c_str()); + if (strstr(val[argc].c_str(), "top")) + context = ON_DESKTOP; // keycode covers the following three two-byte cases: // 0x - hex // +[1-9] - number between +1 and +9 -- cgit v0.11.2