Skip to content

Commit

Permalink
windowPreview: Use full animation on popup
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Oct 3, 2021
1 parent d3f9787 commit 7ed8807
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion windowPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const GObject = imports.gi.GObject;
const St = imports.gi.St;
const Main = imports.ui.main;

const BoxPointer = imports.ui.boxpointer;
const Params = imports.misc.params;
const PopupMenu = imports.ui.popupMenu;
const Workspace = imports.ui.workspace;
Expand Down Expand Up @@ -69,7 +70,7 @@ var WindowPreviewMenu = class DashToDock_WindowPreviewMenu extends PopupMenu.Pop
let windows = this._source.getInterestingWindows();
if (windows.length > 0) {
this._redisplay();
this.open();
this.open(BoxPointer.PopupAnimation.FULL);
this.actor.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
this._source.emit('sync-tooltip');
}
Expand Down

0 comments on commit 7ed8807

Please sign in to comment.