wayland: Use already_applied error in kde-output-management-v2
This commit is contained in:
parent
5f15f3b47c
commit
da41985051
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue