Bug 951321 - [B2G][Messages] Create New Message button gets selected but does not open New Message page. r=kats, a=1.3+
authorVivien Nicolas <21@vingtetun.org>
Thu, 19 Dec 2013 01:12:47 +0100
changeset 175406 f89e855ad21f7fb0acc1f38a4b16a7746e695bfd
parent 175405 c88f01b65f6ae4c6ccdbd3db6be9ed4abfa1a568
child 175407 b153ee402528f448999f43949daafb5f1452a52a
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats, 1
bugs951321
milestone28.0a2
Bug 951321 - [B2G][Messages] Create New Message button gets selected but does not open New Message page. r=kats, a=1.3+
gfx/layers/ipc/GestureEventListener.cpp
--- a/gfx/layers/ipc/GestureEventListener.cpp
+++ b/gfx/layers/ipc/GestureEventListener.cpp
@@ -282,16 +282,18 @@ nsEventStatus GestureEventListener::Hand
       pinchEvent.mCurrentSpan = pinchEvent.mPreviousSpan = -1.0f;
     }
 
     mAsyncPanZoomController->HandleInputEvent(pinchEvent);
 
     mState = GESTURE_NONE;
 
     rv = nsEventStatus_eConsumeNoDefault;
+  } else if (mState == GESTURE_WAITING_PINCH) {
+    mState = GESTURE_NONE;
   }
 
   if (aClearTouches) {
     mTouches.Clear();
   }
 
   return rv;
 }