summaryrefslogtreecommitdiffstats
path: root/tests/auto/compositor/compositor/compositor.pro
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2017-09-28 16:21:21 +0200
committerJohan Helsing <johan.helsing@qt.io>2017-10-18 11:39:25 +0000
commitfa7a1f77226795ece274b3505655e522881a0e24 (patch)
tree3e3e730642b9f03dbdbbd385ae1a4900f5b7cb19 /tests/auto/compositor/compositor/compositor.pro
parent3876d75305d3a1d2967c887b9591a327f726d91e (diff)
Fix crash after destroying view with mouse focus
Don't emit QWaylandSeat::mouseFocusChanged with a destroyed QWaylandView. QWaylandPointer has been refactored to make it easier to follow enter and leave logic. A missing emit for buttonPressedChanged has been fixed as well. This also adds a test for pointer events to verify that setting mouse focus works and that the crash has been fixed. Task-number: QTBUG-63208 Change-Id: Id0c174a7b609dfd0152f3ae446dd51fd8befd554 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'tests/auto/compositor/compositor/compositor.pro')
-rw-r--r--tests/auto/compositor/compositor/compositor.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/compositor/compositor/compositor.pro b/tests/auto/compositor/compositor/compositor.pro
index f0cdaf32c..112e2e74f 100644
--- a/tests/auto/compositor/compositor/compositor.pro
+++ b/tests/auto/compositor/compositor/compositor.pro
@@ -20,11 +20,13 @@ SOURCES += \
testkeyboardgrabber.cpp \
mockclient.cpp \
mockseat.cpp \
- testseat.cpp
+ testseat.cpp \
+ mockpointer.cpp
HEADERS += \
testcompositor.h \
testkeyboardgrabber.h \
mockclient.h \
mockseat.h \
- testseat.h
+ testseat.h \
+ mockpointer.h