From fe9671e30edb9dc5fec35a4f22c5f3eba4c487ab Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 25 Mar 2014 13:31:44 -0400 Subject: [PATCH] shell: Correct error message when we already have an xdg surface It was referencing get_shell_surface, which is absolutely wrong. --- desktop-shell/shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 30d63c41..7f1c8b1d 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -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; }