X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=util%2Fepist%2Fkeytree.cc;h=b3be1de341ed21026cb45608f7de64f5bb36c319;hb=5b088be950ce6e6a496b573e81dabeb54bd740ef;hp=7c954c510eaa19d475da18db91ababe6abcb8a42;hpb=97e86c912ee33e9e75e68f9c193d78879f91d542;p=chaz%2Fopenbox diff --git a/util/epist/keytree.cc b/util/epist/keytree.cc index 7c954c51..b3be1de3 100644 --- a/util/epist/keytree.cc +++ b/util/epist/keytree.cc @@ -1,5 +1,5 @@ // -*- mode: C++; indent-tabs-mode: nil; -*- -// keytree.cc for Epistophy - a key handler for NETWM/EWMH window managers. +// keytree.cc for Epistrophy - a key handler for NETWM/EWMH window managers. // Copyright (c) 2002 - 2002 Ben Jansens // // Permission is hereby granted, free of charge, to any person obtaining a @@ -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,