1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-11 05:05:51 +01:00

Respect <C-t> for a few more key bindings. Add :background.

This commit is contained in:
Kris Maglione
2011-08-20 19:58:45 -04:00
parent f83c063798
commit cef61c8733
11 changed files with 135 additions and 61 deletions

View File

@@ -352,10 +352,8 @@ var EventHive = Class("EventHive", Contexts.Hive, {
listen: function (target, event, callback, capture, allowUntrusted) {
if (!isObject(event))
var [self, events] = [null, array.toObject([[event, callback]])];
else {
else
[self, events] = [event, event[callback || "events"]];
[, , capture, allowUntrusted] = arguments;
}
if (Set.has(events, "input") && !Set.has(events, "dactyl-input"))
events["dactyl-input"] = events.input;
@@ -494,7 +492,7 @@ var Events = Module("events", {
}
this._activeMenubar = false;
this.listen(window, this, "events");
this.listen(window, this, "events", true);
},
signals: {