Make the default desktop shell client configurable

The default can be set by passing WESTON_SHELL_CLIENT as an argument
to configure, similarly to WESTON_NATIVE_BACKEND.

Reviewed-by: Bryce Harrington <b.harrington@samsung.com>
This commit is contained in:
Emilio Pozuelo Monfort
2013-12-02 12:53:32 +01:00
committed by Kristian Høgsberg
parent 3e12e63f03
commit 8a81b83900
4 changed files with 13 additions and 2 deletions
+1 -1
View File
@@ -587,7 +587,7 @@ shell_configuration(struct desktop_shell *shell)
section = weston_config_get_section(shell->compositor->config,
"shell", NULL, NULL);
weston_config_section_get_string(section,
"client", &s, LIBEXECDIR "/weston-desktop-shell");
"client", &s, LIBEXECDIR "/" WESTON_SHELL_CLIENT);
shell->client = s;
weston_config_section_get_string(section,
"binding-modifier", &s, "super");