Needed for properly reporting surface role violations from
wtz_importer.import_shell.
Change-Id: I55d56798c608ff274e641bfd7313903457076172
} state;
};
-static Eina_Hash *_exported_shell_hash = NULL;
+static const char *e_foreign_shell_role_name = "wtz_foreign_shell";
+static Eina_Hash *_exported_shell_hash = NULL;
static E_Exported_Shell *_e_exported_shell_create(struct wl_resource *resource, E_Client *ec);
static void _e_exported_shell_destroy(E_Exported_Shell *es);
return EINA_FALSE;
}
+ if (!e_comp_wl_surface_role_set(ec, e_foreign_shell_role_name,
+ importer, WTZ_IMPORTER_ERROR_ROLE))
+ return EINA_FALSE;
+
fs = _e_foreign_shell_create(resource, ec, es);
if (!fs)
{