mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-21 10:44:25 +00:00
desktop-shell: Add a missing return; in an error path
This commit is contained in:
parent
c91408f3fb
commit
666bc9234a
|
@ -3741,6 +3741,7 @@ xdg_get_xdg_popup(struct wl_client *client,
|
|||
wl_resource_post_error(surface_resource,
|
||||
WL_DISPLAY_ERROR_INVALID_OBJECT,
|
||||
"xdg_shell::get_xdg_popup requires a parent shell surface");
|
||||
return;
|
||||
}
|
||||
|
||||
parent = wl_resource_get_user_data(parent_resource);
|
||||
|
|
Loading…
Reference in a new issue