Merge pull request #27 from tiosgz/fix-view-app-id

Fix: Return view's app_id when asked for app_id
This commit is contained in:
buffet 2020-10-11 17:11:08 +00:00 committed by GitHub
commit fc80555c1c

View file

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