From 575289fdaae0dbcea0a5a7cdd5fb141db1961a66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Hedin=20Br=C3=B8nner?= Date: Sun, 17 Sep 2017 22:16:21 +0200 Subject: [PATCH] Add some missing prints from preview navigator --- tiling.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tiling.js b/tiling.js index e7c3a88..31d9bcd 100644 --- a/tiling.js +++ b/tiling.js @@ -591,13 +591,14 @@ PreviewedWindowNavigator = new Lang.Class({ }, _finish: function(timestamp) { + debug('#preview', 'Finish' this._switcherList.windows[index].title, index); this.was_accepted = true; this.parent(timestamp); }, _onDestroy: function() { // this._selectedIndex is gone here, which might be the problem - debug('#preview', 'onDestroy', this._selecetedIndex) + debug('#preview', 'onDestroy', this.was_accepted); if(!this.was_accepted && this._selectedIndex != focus()) { debug('#preview', 'Abort', global.display.focus_window.title); ensure_viewport(global.display.focus_window, true);