[gnome-shell/gnome-3-14] Revert "workspace: Grab the key focus when hovering over a window"
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-14] Revert "workspace: Grab the key focus when hovering over a window"
- Date: Mon, 2 Mar 2015 14:59:11 +0000 (UTC)
commit 6ecaf0e0fc425015818c8c9ea2a94c177df89185
Author: Rui Matos <tiagomatos gmail com>
Date: Thu Feb 26 17:47:37 2015 +0100
Revert "workspace: Grab the key focus when hovering over a window"
Turns out this makes interaction with the OSK or candidate popups
using a mouse basically impossible since they get dismissed when the
key focus is captured by a window in the overview.
This reverts commit aeb9f5775f66858de508ac4429cfb48553672c89.
https://bugzilla.gnome.org/show_bug.cgi?id=745245
js/ui/workspace.js | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/workspace.js b/js/ui/workspace.js
index e9ab167..e6cf41d 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();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]