mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-04 04:48:03 +02:00
shell: Correct error message when we already have an xdg surface
It was referencing get_shell_surface, which is absolutely wrong.
This commit is contained in:
parent
e81a175fa1
commit
fe9671e30e
1 changed files with 2 additions and 2 deletions
|
|
@ -3413,7 +3413,7 @@ xdg_get_xdg_surface(struct wl_client *client,
|
|||
if (get_shell_surface(surface)) {
|
||||
wl_resource_post_error(surface_resource,
|
||||
WL_DISPLAY_ERROR_INVALID_OBJECT,
|
||||
"desktop_shell::get_shell_surface already requested");
|
||||
"xdg_shell::get_xdg_surface already requested");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -3507,7 +3507,7 @@ xdg_get_xdg_popup(struct wl_client *client,
|
|||
if (get_shell_surface(surface)) {
|
||||
wl_resource_post_error(surface_resource,
|
||||
WL_DISPLAY_ERROR_INVALID_OBJECT,
|
||||
"desktop_shell::get_shell_surface already requested");
|
||||
"xdg_shell::get_xdg_popup already requested");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue