// -*- 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 <ben at orodu.net>
//
// Permission is hereby granted, free of charge, to any person obtaining a
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,