projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d72843
)
allow modifierless root keys
author
Dana Jansens
<danakj@orodu.net>
Thu, 8 Aug 2002 22:45:26 +0000
(22:45 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 8 Aug 2002 22:45:26 +0000
(22:45 +0000)
util/epist/keytree.cc
patch
|
blob
|
history
diff --git
a/util/epist/keytree.cc
b/util/epist/keytree.cc
index 7c954c510eaa19d475da18db91ababe6abcb8a42..365354f7b696b68fb2d24a91ae5ab6a13aef02ac 100644
(file)
--- 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,