mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-17 15:45:47 +01:00
Compare commits
2 Commits
pentadacty
...
pentadacty
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
864482cd7b | ||
|
|
0a46c4be52 |
@@ -2069,13 +2069,6 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
statusline.update();
|
||||
dactyl.log(_("dactyl.initialized", config.appName), 0);
|
||||
dactyl.initialized = true;
|
||||
|
||||
util.delay(() => {
|
||||
if (services.focus.activeWindow === window)
|
||||
overlay.activeWindow = window;
|
||||
|
||||
util.flushLateMethods(dactyl);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -618,9 +618,6 @@ var Events = Module("events", {
|
||||
util.trapErrors("addEditActionListener",
|
||||
DOM(elem).editor, editor);
|
||||
|
||||
if (elem == window)
|
||||
overlay.activeWindow = window;
|
||||
|
||||
overlay.setData(elem, "had-focus", true);
|
||||
if (event.target instanceof Ci.nsIDOMXULTextBoxElement)
|
||||
if (Events.isHidden(elem, true))
|
||||
@@ -873,6 +870,12 @@ var Events = Module("events", {
|
||||
autocommands.trigger("Fullscreen", { url: this._fullscreen ? "on" : "off", state: this._fullscreen });
|
||||
}
|
||||
statusline.updateZoomLevel();
|
||||
},
|
||||
|
||||
activate: function onActivate(event) {
|
||||
if (event.target === window) {
|
||||
overlay.activeWindow = window;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
em:id="pentadactyl@addons.palemoon.org"
|
||||
em:type="2"
|
||||
em:name="Pentadactyl"
|
||||
em:version="1.2pre-pm-2"
|
||||
em:version="1.2pre-pm-3"
|
||||
em:description="Pale Moon for Vim and Links addicts"
|
||||
em:homepageURL="http://5digits.org/pentadactyl"
|
||||
em:bootstrap="true"
|
||||
|
||||
Reference in New Issue
Block a user