[PATCH] Override modules list and don't always load desktop-shell.so

Pier Luigi pierluigi.fiorini at gmail.com
Fri Apr 19 12:12:43 PDT 2013


2013/4/16 Kristian Høgsberg <hoegsberg at gmail.com>:
> On Sun, Apr 14, 2013 at 07:17:40PM +0200, Pier Luigi Fiorini wrote:
>> Let --modules override modules list and load desktop-shell.so as a
>> fallback if a modules list is not specified neither by passing
>> --modules nor with weston.ini.
>>
>> Signed-off-by: Pier Luigi Fiorini <pierluigi.fiorini at gmail.com>
>> ---
>>  man/weston.man   | 5 +++--
>>  src/compositor.c | 7 +++----
>>  2 files changed, 6 insertions(+), 6 deletions(-)
>
> I know the current behavior is a bit problematic for some use cases.
> However it works well for the case where you load a plugin in addition
> to the shell, like xwayland.  I'm not sure what the best way to make
> both cases work is, except to make the shell plugin special.  We could
> go back to use a shell config key and command line option and make
> modules only about additional modules.
>
> Kristian

Seems the best approach to me, you are supposed to use only one shell
and you might load multiple plugins and this make the shell plugin
somehow special to me.

--
Out of the box experience
http://www.maui-project.org/


More information about the wayland-devel mailing list