[Pkg-mozext-commits] [tabmixplus] 33/56: Follow up bug 1143038 - Use AppConstants in tabbrowser.xml
David Prévot
taffit at moszumanska.debian.org
Mon Jun 6 00:02:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit bfd4f40b40783b4a1fd75a13009f0083850a7c41
Author: onemen <tabmix.onemen at gmail.com>
Date: Sat May 14 11:51:32 2016 +0300
Follow up bug 1143038 - Use AppConstants in tabbrowser.xml
---
chrome/content/minit/minit.js | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index 301ef0a..f5b6530 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -578,9 +578,12 @@ var TMP_tabDNDObserver = {
window.moveTo(left, top);
window.focus();
} else {
- gBrowser.replaceTabWithWindow(draggedTab, {screenX: left,
- screenY: top,
- });
+ let props = {screenX: left, screenY: top};
+ if (!TabmixSvc.isWindows) {
+ props.outerWidth = winWidth;
+ props.outerHeight = winHeight;
+ }
+ gBrowser.replaceTabWithWindow(draggedTab, props);
}
aEvent.stopPropagation();
},
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list