[gnome-shell] viewSelector: Make the start search event available to input methods



commit 3b293e91e311529c07a563cfb04da3b904c109c6
Author: Rui Matos <tiagomatos gmail com>
Date:   Fri Sep 14 20:04:18 2012 +0200

    viewSelector: Make the start search event available to input methods
    
    Since we now use the capture phase to feed events into the input
    method, we must set the capture flag for the event that starts
    searches so that IMs can get at it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684040

 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 1d4a953..5772f4d 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -311,7 +311,7 @@ const ViewSelector = new Lang.Class({
 
     startSearch: function(event) {
         global.stage.set_key_focus(this._text);
-        this._text.event(event, false);
+        this._text.event(event, true);
     },
 
     // the entry does not show the hint



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]