weston: Make the shell entrypoint specific

This avoids loading a shell as a module, so we are sure to have only one
shell loaded at a time.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Quentin Glidic
2016-12-02 14:17:08 +01:00
parent 8af2beccbd
commit da01c1d105
5 changed files with 25 additions and 7 deletions
+2 -2
View File
@@ -4874,8 +4874,8 @@ handle_seat_created(struct wl_listener *listener, void *data)
}
WL_EXPORT int
wet_module_init(struct weston_compositor *ec,
int *argc, char *argv[])
wet_shell_init(struct weston_compositor *ec,
int *argc, char *argv[])
{
struct weston_seat *seat;
struct desktop_shell *shell;