summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/shared/xdgshell.cpp
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-02-05 10:07:56 +0100
committerJohan Helsing <johan.helsing@qt.io>2019-03-05 09:57:26 +0000
commit6ddd66f19442ddf4bee13930dfa3ec0070f67138 (patch)
tree31b537d34eabcc4042d5347699cc46a96ab2fa14 /tests/auto/client/shared/xdgshell.cpp
parent9b05557a6325497485b582c3891367aa7dfee245 (diff)
Client xdg-shell: Add test for switching popups
Task-number: QTBUG-73524 Change-Id: Ie9a13aeae52a7576699147e5515e2ed32a3a4d1c Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'tests/auto/client/shared/xdgshell.cpp')
-rw-r--r--tests/auto/client/shared/xdgshell.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/client/shared/xdgshell.cpp b/tests/auto/client/shared/xdgshell.cpp
index 9437688ad..13acc01e2 100644
--- a/tests/auto/client/shared/xdgshell.cpp
+++ b/tests/auto/client/shared/xdgshell.cpp
@@ -236,6 +236,7 @@ void XdgPopup::xdg_popup_destroy(Resource *resource) {
}
m_xdgSurface->m_popup = nullptr;
m_parentXdgSurface->m_popups.removeAll(this);
+ emit destroyRequested();
}
} // namespace MockCompositor