diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 035a6b572..ff2618a51 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -500,7 +500,7 @@ var WindowOverlay = new Lang.Class({ this._hidden = false; this.title.show(); - if (this._windowClone.actor.has_pointer) + if (this._windowClone.actor.has_pointer()) this._animateVisible(); }, @@ -699,8 +699,8 @@ var WindowOverlay = new Lang.Class({ _idleToggleCloseButton: function() { this._idleToggleCloseId = 0; - if (!this._windowClone.actor.has_pointer && - !this.closeButton.has_pointer) + if (!this._windowClone.actor.has_pointer() && + !this.closeButton.has_pointer()) this._animateInvisible(); return GLib.SOURCE_REMOVE;