~unity-team/qtmir/no-upstart-notification

« back to all changes in this revision

Viewing changes to src/platforms/mirserver/logging.h

  • Committer: CI bot
  • Author(s): Daniel d'Andrada
  • Date: 2014-09-07 19:42:14 UTC
  • mfrom: (239.1.6 missingTouchEnd-lp1295623)
  • Revision ID: ps-jenkins@lists.canonical.com-20140907194214-1eq13l827gavf65i
QtEventFeeder: validate touches before sending them to Qt

Make sure we send a tidy touch event stream to Qt as some of it
(QQuickWindow) is vulnerable to things like missing touch releases.

Also properly ignore unsupported motion event actions such as hovering.
 Fixes: 1295623
Approved by: Gerry Boland, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
Q_DECLARE_LOGGING_CATEGORY(QTMIR_SESSIONS)
23
23
Q_DECLARE_LOGGING_CATEGORY(QTMIR_SURFACES)
24
24
Q_DECLARE_LOGGING_CATEGORY(QTMIR_MIR_MESSAGES)
 
25
Q_DECLARE_LOGGING_CATEGORY(QTMIR_MIR_INPUT)
25
26
 
26
27
#endif // UBUNTU_APPLICATION_PLUGIN_LOGGING_H