Fix: Return view's app_id instead of title when asked

This commit is contained in:
Bohdan Potměkleč 2020-10-11 16:15:49 +00:00
parent cd7cfae770
commit c59f4f6c3b

View file

@ -145,7 +145,7 @@ xdg_shell_view_get_string_prop(
{
switch (prop) {
case KIWMI_VIEW_PROP_APP_ID:
return view->xdg_surface->toplevel->title;
return view->xdg_surface->toplevel->app_id;
case KIWMI_VIEW_PROP_TITLE:
return view->xdg_surface->toplevel->title;
default: