all repos — openbox @ a826509b51c03c55363f15356e73046158fe48aa

openbox fork - make it a bit more like ryudo

remove some old comments
Dana Jansens danakj@orodu.net
commit

a826509b51c03c55363f15356e73046158fe48aa

parent

87ed1124fbed16bd93e2fa4ffded9c9576319841

1 files changed, 1 insertions(+), 6 deletions(-)

jump to
M src/bindings.ccsrc/bindings.cc

@@ -41,15 +41,13 @@

bool OBBindings::translate(const std::string &str, Binding &b) { - unsigned int mods = 0; - // parse out the base key name std::string::size_type keybegin = str.find_last_of('-'); keybegin = (keybegin == std::string::npos) ? 0 : keybegin + 1; std::string key(str, keybegin); - // XXX: get some modifiers up in the hizzie // parse out the requested modifier keys + unsigned int mods = 0; std::string::size_type begin = 0, end; while (begin != keybegin) { end = str.find_first_of('-', begin);

@@ -124,9 +122,6 @@ // set the proper chain status on the last node

p->chain = false; } -// printf("BUILDING:\n"); -// print_branch(ret, ""); - // successfully built a tree return ret; }