Bug 856155 - End IME composition before sending touch events to content. r=jchen

This commit is contained in:
Kartikaya Gupta 2013-04-04 02:08:16 -04:00
parent 7bf08490b5
commit 23c30b8c8a

View File

@ -1188,6 +1188,10 @@ bool nsWindow::OnMultitouchEvent(AndroidGeckoEvent *ae)
{
nsRefPtr<nsWindow> kungFuDeathGrip(this);
// End any composition in progress in case the touch event listener
// modifies the input field value (see bug 856155)
RemoveIMEComposition();
// This is set to true once we have called SetPreventPanning() exactly
// once for a given sequence of touch events. It is reset on the start
// of the next sequence.