Commit 36f31ff4 authored by adrien faveraux's avatar adrien faveraux
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 0bb2e6f9
......@@ -42,7 +42,7 @@ void ShadowManagerInterfacePrivate::org_kde_kwin_shadow_manager_destroy(Resource
void ShadowManagerInterfacePrivate::org_kde_kwin_shadow_manager_create(Resource *resource, uint32_t id, wl_resource *surface)
SurfaceInterface *s = SurfaceInterface::get(surface);
SurfaceInterface *s = SurfaceInterface::get(surface);
if (!s) {
wl_resource_post_error(resource->handle, 0, "Invalid surface");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment