diff --git a/windowPreview.js b/windowPreview.js index 75459b522..2e939afa9 100644 --- a/windowPreview.js +++ b/windowPreview.js @@ -645,8 +645,8 @@ class WindowPreviewMenuItem extends PopupMenu.PopupBaseMenuItem { } activate() { - this._getTopMenu().close(); Main.activateWindow(this._window); + this._getTopMenu().close(); } _onDestroy() {