diff options
Diffstat (limited to 'src/compositor/wayland_wrapper/wlshellsurface.cpp')
-rw-r--r-- | src/compositor/wayland_wrapper/wlshellsurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/wayland_wrapper/wlshellsurface.cpp b/src/compositor/wayland_wrapper/wlshellsurface.cpp index 36598993..39c60a2e 100644 --- a/src/compositor/wayland_wrapper/wlshellsurface.cpp +++ b/src/compositor/wayland_wrapper/wlshellsurface.cpp @@ -66,7 +66,7 @@ void Shell::get_shell_surface(struct wl_client *client, struct wl_resource *surface_super) { Q_UNUSED(shell_resource); - Surface *surface = reinterpret_cast<Surface *>(surface_super); + Surface *surface = resolve<Surface>(surface_super); new ShellSurface(client,id,surface); } |