gh-13761: Fixed closing a split view selecting it on other windows (gh-13790)

This commit is contained in:
mr. m
2026-05-21 18:18:18 +02:00
committed by GitHub
parent 0b9f0bbe91
commit cd1616d1c0
4 changed files with 8 additions and 6 deletions

View File

@@ -34,8 +34,8 @@ Zen is a firefox-based browser with the aim of pushing your productivity to a ne
### Firefox Versions
- [`Release`](https://zen-browser.app/download) - Is currently built using Firefox version `151.0`! 🚀
- [`Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 151.0`!
- [`Release`](https://zen-browser.app/download) - Is currently built using Firefox version `151.0.1`! 🚀
- [`Twilight`](https://zen-browser.app/download?twilight) - Is currently built using Firefox version `RC 151.0.1`!
### Contributing

View File

@@ -1657,7 +1657,9 @@ class nsZenWindowSync {
this.#runOnAllWindows(window, win => {
const targetTab = this.getItemFromWindow(win, tab.id);
if (targetTab && win.gZenViewSplitter) {
win.gZenViewSplitter.removeTabFromGroup(targetTab);
win.gZenViewSplitter.removeTabFromGroup(targetTab, undefined, {
changeTab: false,
});
}
});
}

View File

@@ -2294,7 +2294,7 @@ class nsZenViewSplitter extends nsZenDOMOperatedFeature {
// Unsplit the tab and exit from the drag view
this.dropZone?.removeAttribute("enabled");
this.disableTabRearrangeView(event);
this.removeTabFromSplit(browserContainer);
this.removeTabFromSplit(event, browserContainer);
return true;
}
return false;

View File

@@ -5,8 +5,8 @@
"binaryName": "zen",
"version": {
"product": "firefox",
"version": "151.0",
"candidate": "151.0",
"version": "151.0.1",
"candidate": "151.0.1",
"candidateBuild": 1
},
"buildOptions": {