Use MetaScreen for the focus on older gnome-shell versions

This commit is contained in:
Charles Gagnon
2019-05-26 09:47:20 -04:00
parent 9c262facdc
commit 17a448603f

View File

@@ -179,7 +179,7 @@ var PreviewMenu = Utils.defineClass({
this._animateOpenOrClose(false, () => this._resetHiddenState());
}
global.display.focus_default_window(1);
Utils.DisplayWrapper.getScreen().focus_default_window(1);
this._box.get_children().forEach(c => c.reactive = false);
this.menu.reactive = false;
this.currentAppIcon = null;