compositor/main: put remoting/pipewire outputs to the right
Similar to what we have to all other backends/outputs, do the same for the remoting/pipewire plug-ins and align them to the right. This way we can move the plug-ins loading after weston_compositor_flush_heads_changed(), much closer to the other module loading which seems a more suitable place. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
df493400c1
commit
73138a1943
|
@ -2785,6 +2785,8 @@ remoted_output_init(struct weston_compositor *c,
|
|||
goto err;
|
||||
}
|
||||
|
||||
weston_output_lazy_align(output);
|
||||
|
||||
if (weston_output_enable(output) < 0) {
|
||||
weston_log("Enabling remoted output \"%s\" failed.\n",
|
||||
output_name);
|
||||
|
@ -2916,6 +2918,8 @@ pipewire_output_init(struct weston_compositor *c,
|
|||
goto err;
|
||||
}
|
||||
|
||||
weston_output_lazy_align(output);
|
||||
|
||||
if (weston_output_enable(output) < 0) {
|
||||
weston_log("Enabling pipewire output \"%s\" failed.\n",
|
||||
output_name);
|
||||
|
@ -4269,8 +4273,6 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
|
|||
goto out;
|
||||
}
|
||||
|
||||
load_additional_modules(wet);
|
||||
|
||||
weston_compositor_flush_heads_changed(wet.compositor);
|
||||
if (wet.init_failed)
|
||||
goto out;
|
||||
|
@ -4338,6 +4340,8 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data)
|
|||
if (load_modules(wet.compositor, option_modules, &argc, argv) < 0)
|
||||
goto out;
|
||||
|
||||
load_additional_modules(wet);
|
||||
|
||||
section = weston_config_get_section(config, "keyboard", NULL, NULL);
|
||||
weston_config_section_get_bool(section, "numlock-on", &numlock_on, false);
|
||||
if (numlock_on) {
|
||||
|
|
Loading…
Reference in New Issue