diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-20 22:18:52 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-20 22:18:52 +0200 |
commit | 09f456b2808224e7707e51bfab8957ef067154e4 (patch) | |
tree | 95d53f259f5807e2cbee9d455a7629eb4db53c77 /widget/nsGUIEventIPC.h | |
parent | 9b1ba6833410c0b17e885b4bc2b7bff6cf86d5cd (diff) | |
download | UXP-09f456b2808224e7707e51bfab8957ef067154e4.tar UXP-09f456b2808224e7707e51bfab8957ef067154e4.tar.gz UXP-09f456b2808224e7707e51bfab8957ef067154e4.tar.lz UXP-09f456b2808224e7707e51bfab8957ef067154e4.tar.xz UXP-09f456b2808224e7707e51bfab8957ef067154e4.zip |
moebius#71: DOM - Pointer Events - improvements
https://github.com/MoonchildProductions/moebius/pull/71
Diffstat (limited to 'widget/nsGUIEventIPC.h')
-rw-r--r-- | widget/nsGUIEventIPC.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/widget/nsGUIEventIPC.h b/widget/nsGUIEventIPC.h index e06e3784a..e45189bb1 100644 --- a/widget/nsGUIEventIPC.h +++ b/widget/nsGUIEventIPC.h @@ -228,8 +228,10 @@ struct ParamTraits<mozilla::WidgetPointerHelper> WriteParam(aMsg, aParam.pointerId); WriteParam(aMsg, aParam.tiltX); WriteParam(aMsg, aParam.tiltY); - // We don't serialize convertToPointer and retargetedByPointerCapture since - // they are temporarily variable and should be reset to default. + WriteParam(aMsg, aParam.twist); + WriteParam(aMsg, aParam.tangentialPressure); + // We don't serialize convertToPointer since it's temporarily variable and + // should be reset to default. } static bool Read(const Message* aMsg, PickleIterator* aIter, paramType* aResult) @@ -237,7 +239,9 @@ struct ParamTraits<mozilla::WidgetPointerHelper> bool rv; rv = ReadParam(aMsg, aIter, &aResult->pointerId) && ReadParam(aMsg, aIter, &aResult->tiltX) && - ReadParam(aMsg, aIter, &aResult->tiltY); + ReadParam(aMsg, aIter, &aResult->tiltY) && + ReadParam(aMsg, aIter, &aResult->twist) && + ReadParam(aMsg, aIter, &aResult->tangentialPressure); return rv; } }; |