diff --git a/js/ui/workspace.js b/js/ui/workspace.js index e9ab1676b..e6cf41d38 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -156,7 +156,6 @@ const WindowClone = new Lang.Class({ this.actor.add_action(clickAction); this.actor.connect('destroy', Lang.bind(this, this._onDestroy)); this.actor.connect('key-press-event', Lang.bind(this, this._onKeyPress)); - this.actor.connect('enter-event', Lang.bind(this, this._onEnter)); this._draggable = DND.makeDraggable(this.actor, { restoreOnSuccess: true, @@ -353,10 +352,6 @@ const WindowClone = new Lang.Class({ return false; }, - _onEnter: function() { - this.actor.grab_key_focus(); - }, - _onClicked: function(action, actor) { this._activate(); },