window: Support snap packages for sandboxed app IDs

For now we abuse of meta_window_get_flatpak_id not to break the APIs,
so that it's working seamlessly in gnone shell too.

Rename flatpak_id to sandboxed_app_id internally to get prepared to the future
API.

https://bugzilla.gnome.org/show_bug.cgi?id=788217
This commit is contained in:
Marco Trevisan (Treviño)
2017-09-26 17:22:43 -04:00
parent 92e2242cf0
commit 6dc499f305
2 changed files with 85 additions and 12 deletions

View File

@@ -164,7 +164,7 @@ struct _MetaWindow
char *startup_id;
char *mutter_hints;
char *flatpak_id;
char *sandboxed_app_id;
char *gtk_theme_variant;
char *gtk_application_id;
char *gtk_unique_bus_name;