diff options
author | Florian Müllner <fmuellner@gnome.org> | 2018-02-27 23:34:09 +0100 |
---|---|---|
committer | Florian Müllner <fmuellner@gnome.org> | 2018-03-03 00:51:13 +0100 |
commit | 6c429cf5c3a5c6a0acd93d1d88a69ff6dd0c1c61 (patch) | |
tree | 60b1568bd9f6446dc6eb33ff6f3976d5d0921ddb | |
parent | d3527ebd00962351af3486cfe8b241ce45f31d34 (diff) | |
download | gnome-shell-wip/fmuellner/fix-find-as-you-type.tar.gz |
viewSelector: Don't mark synth event as in capture phasewip/fmuellner/fix-find-as-you-type
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
-rw-r--r-- | js/ui/viewSelector.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |