We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f56454 commit ac47ff3Copy full SHA for ac47ff3
js/ui/expoThumbnail.js
@@ -626,8 +626,14 @@ ExpoWorkspaceThumbnail.prototype = {
626
627
// We might have the window in our list already if it was on all workspaces and
628
// now was moved to this workspace
629
- if (this.lookupIndex (metaWin) != -1)
+ let winCloneIndex = this.lookupIndex(metaWin);
630
+ if (winCloneIndex !== -1) {
631
+ // the window's position on the workspace may have changed (dragging to a different monitor)
632
+ // update its original location so overview on/off position correctly.
633
+ this.windows[winCloneIndex].origX = win.x;
634
+ this.windows[winCloneIndex].origY = win.y;
635
return;
636
+ }
637
638
if (!this.isMyWindow(win) || !this.isExpoWindow(win))
639
0 commit comments