compositor: allow double-loading modules
authorPekka Paalanen <pekka.paalanen@collabora.com>
Mon, 4 Nov 2019 12:07:51 +0000 (14:07 +0200)
committerDaniel Stone <daniel@fooishbar.org>
Thu, 21 Nov 2019 16:32:55 +0000 (16:32 +0000)
commit3025353e8314dfed1b38d2e3f4164a7af1362033
tree2f1f4ec9f37a1e2e0f90feb7f162f4961b51283c
parentf696ee93375f1e678d992d6e7aa2aa0133289aea
compositor: allow double-loading modules

This is necessary for the test harness to be able to execute the compositor
multiple times in the same process. As we never unload opened modules, the
first compositor iteration will leave them all loaded and following compositor
iterations will then have them already loaded.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
compositor/main.c