diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-05-08 12:41:30 +0300 |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2012-05-09 09:12:45 +0200 |
commit | 9d7ef928ce0febdcee3cb4327b7f4fc559d3aba1 (patch) | |
tree | 4c25918fca8fc4a2259c89708eabd328e264d5aa /tests | |
parent | 675b41de61ff9e58f16725eba8ef04861039acf1 (diff) | |
download | qtwayland-9d7ef928ce0febdcee3cb4327b7f4fc559d3aba1.tar.gz |
Update to wayland head
Change-Id: Ie012861bc40e3bc448d85c9d8c27f798434020ed
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/client/mockshell.cpp | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/tests/auto/client/mockshell.cpp b/tests/auto/client/mockshell.cpp index f11a5303..cfc43906 100644 --- a/tests/auto/client/mockshell.cpp +++ b/tests/auto/client/mockshell.cpp @@ -43,6 +43,15 @@ namespace Impl { +void shell_surface_pong(wl_client *client, + wl_resource *surface_resource, + uint32_t serial) +{ + Q_UNUSED(client); + Q_UNUSED(surface_resource); + Q_UNUSED(serial); +} + void shell_surface_move(wl_client *client, wl_resource *surface_resource, wl_resource *input_device_resource, @@ -129,16 +138,37 @@ void shell_surface_set_maximized(wl_client *client, Q_UNUSED(output); } +void shell_surface_set_title(wl_client *client, + wl_resource *surface_resource, + const char *title) +{ + Q_UNUSED(client); + Q_UNUSED(surface_resource); + Q_UNUSED(title); +} + +void shell_surface_set_class(wl_client *client, + wl_resource *surface_resource, + const char *class_) +{ + Q_UNUSED(client); + Q_UNUSED(surface_resource); + Q_UNUSED(class_); +} + static void get_shell_surface(wl_client *client, wl_resource *compositorResource, uint32_t id, wl_resource *surfaceResource) { static const struct wl_shell_surface_interface shellSurfaceInterface = { + shell_surface_pong, shell_surface_move, shell_surface_resize, shell_surface_set_toplevel, shell_surface_set_transient, shell_surface_set_fullscreen, shell_surface_set_popup, - shell_surface_set_maximized + shell_surface_set_maximized, + shell_surface_set_title, + shell_surface_set_class }; Q_UNUSED(compositorResource); |