mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-10-05 03:46:53 +00:00
navigator: Fix escape when the starting window is closed
This commit is contained in:
+4
-1
@@ -447,7 +447,10 @@ var PreviewedWindowNavigator = new Lang.Class({
|
||||
if(!this.was_accepted) {
|
||||
// Abort the navigation
|
||||
this.space = from;
|
||||
this.space.selectedWindow = this._startWindow;
|
||||
if (this._startWindow.get_compositor_private())
|
||||
this.space.selectedWindow = this._startWindow;
|
||||
else
|
||||
this.space.selectedWindow = global.display.focus_window;
|
||||
}
|
||||
|
||||
if (this.monitor !== this.space.monitor) {
|
||||
|
||||
Reference in New Issue
Block a user