mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-06 03:56:53 +00:00
navigator: Make sure WindowActors are visible when done
We need to ensure on finish too as we want to update the window actors.
This commit is contained in:
+3
-1
@@ -260,6 +260,8 @@ var PreviewedWindowNavigator = new Lang.Class({
|
||||
} else {
|
||||
Main.activateWindow(this.space[this._selectedIndex]);
|
||||
debug('#preview', 'Finish', this.space[this._selectedIndex].title, this._selectedIndex);
|
||||
|
||||
Tiling.ensureViewport(this.space[this._selectedIndex]);
|
||||
}
|
||||
// Finish workspace preview _after_ activate, that way the new animation
|
||||
// triggered by activate gets killed immediately
|
||||
@@ -288,7 +290,7 @@ var PreviewedWindowNavigator = new Lang.Class({
|
||||
if (focus.get_workspace() !== this.space.workspace) {
|
||||
switchWorkspace(focus.get_workspace());
|
||||
}
|
||||
Tiling.ensureViewport(focus, Tiling.spaces.spaceOfWindow(focus));
|
||||
Tiling.ensureViewport(focus);
|
||||
}
|
||||
|
||||
navigating = false;
|
||||
|
||||
Reference in New Issue
Block a user