summaryrefslogtreecommitdiff
path: root/desktop-shell
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2016-12-02 14:17:08 +0100
committerQuentin Glidic <sardemff7+git@sardemff7.net>2017-01-17 18:24:58 +0100
commitda01c1d105e1eb72ede863495dd60552b504df05 (patch)
treeefe602399070deffd32eef89055c723daecac987 /desktop-shell
parent8af2beccbd91c2f555eb5e5aa4f8e0455ab28eff (diff)
downloadweston-da01c1d105e1eb72ede863495dd60552b504df05.tar.gz
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>
Diffstat (limited to 'desktop-shell')
-rw-r--r--desktop-shell/shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index 5e109247..d8ef3fd7 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -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;