[gnome-shell/wip/fmuellner/fix-find-as-you-type: 9/9] viewSelector: Don't mark synth event as in capture phase
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/fix-find-as-you-type: 9/9] viewSelector: Don't mark synth event as in capture phase
- Date: Mon, 5 Mar 2018 19:13:44 +0000 (UTC)
commit 5e9e4f8c73930a8f7962a836ad7d873cff447369
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Feb 27 23:34:09 2018 +0100
viewSelector: Don't mark synth event as in capture phase
When we move keyboard focus to the search entry, we replay the key press
that triggered the move to the entry using ClutterActor's event() method.
Since commit 3b293e91e we specify that the event is in the capture phase
to make it work with StIMText, but now that commit 83accce24 removed it,
we have to return to the expected non-capture flag that matches the orig-
inal event to unbreak find-as-you-type functionality.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/72
js/ui/viewSelector.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index fc03a2bb8..91bc222cf 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -517,7 +517,7 @@ var ViewSelector = new Lang.Class({
let synthEvent = event.copy();
synthEvent.set_source(this._text);
- this._text.event(synthEvent, true);
+ this._text.event(synthEvent, false);
},
// the entry does not show the hint
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]