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

« back to all changes in this revision

Viewing changes to src/modules/Unity/Application/mirsurfacemanager.cpp

  • 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:
19
19
#include <QMutexLocker>
20
20
 
21
21
// local
22
 
#include "debughelpers.h"
23
22
#include "mirsurfacemanager.h"
24
23
#include "sessionmanager.h"
25
24
#include "application_manager.h"
26
25
 
 
26
// common
 
27
#include <debughelpers.h>
 
28
 
27
29
// QPA mirserver
28
30
#include "nativeinterface.h"
29
31
#include "mirserverconfiguration.h"