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
@ -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…
x
Reference in New Issue
Block a user