Commit aa5cf314 authored by Martin Flöser's avatar Martin Flöser
Browse files

[server] Fix error message in QtSurfaceExtension Interface

If a SurfaceExtension is already created for a Surface we should say
that and not that a PlasmaShellSurface is already created.
parent 2417faff
......@@ -119,7 +119,7 @@ void QtSurfaceExtensionInterface::Private::createSurface(wl_client *client, uint
}
);
if (it != surfaces.constEnd()) {
wl_resource_post_error(surface->resource(), WL_DISPLAY_ERROR_INVALID_OBJECT, "PlasmaShellSurface already created");
wl_resource_post_error(surface->resource(), WL_DISPLAY_ERROR_INVALID_OBJECT, "Qt Surface Extension already created");
return;
}
QtExtendedSurfaceInterface *shellSurface = new QtExtendedSurfaceInterface(q, surface, parentResource);
......
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