From ecddf1fffd416abd8db63cb1b670b6249e355b86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sun, 17 Sep 2017 10:37:17 +0200 Subject: [PATCH] Fix some more undefined property warnings https://bugzilla.gnome.org/show_bug.cgi?id=787907 --- js/ui/dnd.js | 1 + js/ui/workspace.js | 1 + js/ui/workspaceSwitcherPopup.js | 1 + 3 files changed, 3 insertions(+) diff --git a/js/ui/dnd.js b/js/ui/dnd.js index da227e9e7..404c638aa 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -94,6 +94,7 @@ var _Draggable = new Lang.Class({ this.disconnectAll(); })); this._onEventId = null; + this._touchSequence = null; this._restoreOnSuccess = params.restoreOnSuccess; this._dragActorMaxSize = params.dragActorMaxSize; diff --git a/js/ui/workspace.js b/js/ui/workspace.js index e6a6da919..3d7860170 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -1090,6 +1090,7 @@ var Workspace = new Lang.Class({ // do some simple aspect ratio like math to fit the layout calculated // for the full geometry into this area. this._actualGeometry = null; + this._actualGeometryLater = 0; this._currentLayout = null; diff --git a/js/ui/workspaceSwitcherPopup.js b/js/ui/workspaceSwitcherPopup.js index 9ddd36463..7b49b9813 100644 --- a/js/ui/workspaceSwitcherPopup.js +++ b/js/ui/workspaceSwitcherPopup.js @@ -31,6 +31,7 @@ var WorkspaceSwitcherPopup = new Lang.Class({ this._itemSpacing = 0; this._childHeight = 0; this._childWidth = 0; + this._timeoutId = 0; this._list.connect('style-changed', Lang.bind(this, function() { this._itemSpacing = this._list.get_theme_node().get_length('spacing'); }));