diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-08-08 22:45:26 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-08-08 22:45:26 +0000 |
| commit | 652addd232e3f2a7c6c681b9669917e0a416331f (patch) | |
| tree | f563c0d62f9461b9502bb16b8b709a6fcd7a901b | |
| parent | 7d72843f3af282038632492155a0baf011044053 (diff) | |
allow modifierless root keys
| -rw-r--r-- | util/epist/keytree.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/util/epist/keytree.cc b/util/epist/keytree.cc index 7c954c51..365354f7 100644 --- a/util/epist/keytree.cc +++ b/util/epist/keytree.cc @@ -132,11 +132,6 @@ const Action * keytree::getAction(const XEvent &e, unsigned int state, void keytree::addAction(Action::ActionType action, unsigned int mask, string key, string arg) { - // can't grab non-modifier as topmost key - // XXX: do we allow Esc to be grabbed at the top? - if (_current == _head && (mask == 0 || mask == ShiftMask)) - return; - keynode *tmp = new keynode; tmp->action = new Action(action, XKeysymToKeycode(_display, |
