Commit da419850 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Use already_applied error in kde-output-management-v2

parent 5f15f3b4
......@@ -109,7 +109,7 @@ void OutputConfigurationV2Interface::kde_output_configuration_v2_scale(Resource
void OutputConfigurationV2Interface::kde_output_configuration_v2_apply(Resource *resource)
{
if (applied) {
wl_resource_post_error(resource->handle, 0, "an output configuration can be applied only once");
wl_resource_post_error(resource->handle, error_already_applied, "an output configuration can be applied only once");
return;
}
......
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