On Fri, Apr 19, 2013 at 04:11:01PM -0700, Bill Spitzak wrote:
> >2013/4/16 Kristian Høgsberg <[email protected]>:
> 
> >>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.
> 
> Would it be possible to load all the named modules, then find out if
> any of them are shells, and load the default shell if none are? Ie
> if the command line does not name a shell module you will get the
> default one.

Yeah, I think we could do something like that.  Instead of looking up
the module_init function we can dlsym for an instance of a
weston_module struct, which can let us do ABI version checks and make
sure we only load one of each type of module (shell, cms, etc).

Kristian
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to