compositor: Generalize module loading

We can now load any number of general modules, and the shell and xwayland
are just two of them.  We continue to use the mechanism for testing but
custom input drivers or logging mechanisms, for example are other use cases.
This commit is contained in:
Kristian Høgsberg
2012-09-12 12:21:01 -04:00
parent eb00e2e24b
commit a6813d2887
3 changed files with 46 additions and 38 deletions
+2 -2
View File
@@ -100,8 +100,8 @@ Append log messages to the file
.I file.log
instead of writing them to stderr.
.TP
\fB\-\-module\fR=\fImodule.so\fR
Load a generic plugin module \fImodule.so\fR. Only used by the test
\fB\-\-modules\fR=\fImodule1.so,module2.so\fR
Load the comma-separated list of modules. Only used by the test
suite. The file is searched for in
.IR "__weston_modules_dir__" ,
or you can pass an absolute path.