Bug 811178 - Send mousemove before mousedown and mouseup, r=cjones
authorMichael Wu <mwu@mozilla.com>
Wed, 05 Dec 2012 19:32:19 -0500
changeset 115140 3c88682ae393ccb6ad2d7d66a04eab5ff1be167e
parent 115139 1f3975a90f400b19a6460d270468707066f9e855
child 115141 569db4506cb15e1af73490e43fe58ccbbb80811e
push id23973
push useremorley@mozilla.com
push dateThu, 06 Dec 2012 10:04:18 +0000
treeherdermozilla-central@ddda5400c826 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscjones
bugs811178
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 811178 - Send mousemove before mousedown and mouseup, r=cjones
dom/ipc/TabChild.cpp
--- a/dom/ipc/TabChild.cpp
+++ b/dom/ipc/TabChild.cpp
@@ -1257,16 +1257,17 @@ TabChild::RecvHandleDoubleTap(const nsIn
 
 bool
 TabChild::RecvHandleSingleTap(const nsIntPoint& aPoint)
 {
   if (!mCx || !mTabChildGlobal) {
     return true;
   }
 
+  RecvMouseEvent(NS_LITERAL_STRING("mousemove"), aPoint.x, aPoint.y, 0, 1, 0, false);
   RecvMouseEvent(NS_LITERAL_STRING("mousedown"), aPoint.x, aPoint.y, 0, 1, 0, false);
   RecvMouseEvent(NS_LITERAL_STRING("mouseup"), aPoint.x, aPoint.y, 0, 1, 0, false);
 
   return true;
 }
 
 bool
 TabChild::RecvHandleLongTap(const nsIntPoint& aPoint)