1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 23:44:11 +01:00

Fix some bugs.

--HG--
branch : groups
This commit is contained in:
Kris Maglione
2011-02-07 18:34:48 -05:00
parent a94832ef15
commit ee03cbd2ce
5 changed files with 16 additions and 17 deletions

View File

@@ -55,8 +55,10 @@ var ProcessorStack = Class("ProcessorStack", {
events.feedingKeys = false;
}
for (var res = this.actions[0]; callable(res);)
res = res();
for (var res = this.actions[0]; callable(res);) {
res = dactyl.trapErrors(res);
events.dbg("ACTION RES: " + res);
}
result = res === Events.PASS ? Events.PASS : Events.KILL;
}
else if (result !== Events.KILL && !this.actions.length &&
@@ -402,7 +404,7 @@ var Events = Module("events", {
}
this._activeMenubar = false;
this.listen(window, this, "events");
this.listen(window, this, "events", true);
dactyl.registerObserver("modeChange", function () {
delete self.processor;