[Pkg-mozext-commits] [tabmixplus] 23/34: Use Tabmix drag & drop functions when dragging tabs between windows to allow positioning of the drag indicator in case the tabbar is not in the default location
David Prévot
taffit at moszumanska.debian.org
Mon Mar 9 23:28:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit aa6e0612db80bd494767aab51e27bfff67adfd5c
Author: onemen <tabmix.onemen at gmail.com>
Date: Mon Feb 23 09:47:10 2015 +0200
Use Tabmix drag & drop functions when dragging tabs between windows to allow positioning of the drag indicator in case the tabbar is not in the default location
---
chrome/content/minit/minit.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index 93fecd0..c9f7441 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -81,7 +81,8 @@ var TMP_tabDNDObserver = {
tabBar.useTabmixDnD = function(aEvent) {
function checkTab(dt) {
let tab = TMP_tabDNDObserver.getSourceNode(dt);
- return !tab || "__tabmixDragStart" in tab;
+ return !tab || "__tabmixDragStart" in tab ||
+ TMP_tabDNDObserver.getDragType(tab) == TMP_tabDNDObserver.DRAG_TAB_TO_NEW_WINDOW;
}
return this.orient == "horizontal" &&
--
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