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

This commit is contained in:
Vlad Zahorodnii 2022-08-12 10:37:47 +03:00
parent 5f15f3b47c
commit da41985051

View file

@ -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;
}