#include "keytree.hh"
+#include <string>
+
+using std::string;
+
+
keytree::keytree(Display *display) : _display(display)
{
_head = new keynode;
act = (*it)->action;
if (e.xkey.keycode == act->keycode() && state == act->modifierMask()) {
if ( isLeaf(*it) ) {
- if (_current != _head)
- ungrabChildren(_current, scr);
_current = _head;
return act;
}