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 34f5f1fc37
commit 6369823551

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: