summaryrefslogtreecommitdiffstats
path: root/tests/auto/compositor/compositor/mockclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/compositor/compositor/mockclient.h')
-rw-r--r--tests/auto/compositor/compositor/mockclient.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/compositor/compositor/mockclient.h b/tests/auto/compositor/compositor/mockclient.h
index bf5d8fc88..b537e9df1 100644
--- a/tests/auto/compositor/compositor/mockclient.h
+++ b/tests/auto/compositor/compositor/mockclient.h
@@ -27,7 +27,7 @@
****************************************************************************/
#include "wayland-wayland-client-protocol.h"
-#include <qwayland-xdg-shell-unstable-v5.h>
+#include <qwayland-xdg-shell.h>
#include <wayland-ivi-application-client-protocol.h>
#include "wayland-viewporter-client-protocol.h"
@@ -61,6 +61,7 @@ public:
wl_surface *createSurface();
wl_shell_surface *createShellSurface(wl_surface *surface);
xdg_surface *createXdgSurface(wl_surface *surface);
+ xdg_toplevel *createXdgToplevel(xdg_surface *xdgSurface);
ivi_surface *createIviSurface(wl_surface *surface, uint iviId);
wl_display *display = nullptr;
@@ -69,7 +70,7 @@ public:
wl_shm *shm = nullptr;
wl_registry *registry = nullptr;
wl_shell *wlshell = nullptr;
- xdg_shell *xdgShell = nullptr;
+ xdg_wm_base *xdgWmBase = nullptr;
wp_viewporter *viewporter = nullptr;
ivi_application *iviApplication = nullptr;