kwin/backends/drm/drm.json
Martin Gräßlin fc0272f3c4 [wayland] Add a --list-backends command line arg for listing available backends
Distributions do package each backend plugin in a dedicated package,
which means just because KWin got compiled with a specific backend,
doesn't mean it is also available at runtime.

In order to better support this reality this change introduces a
list-backends command line option. Each of the plugins got the json
metadata extended by the KPlugin syntax, so that we have a name and
description to print.

As we already locate all plugins anyway, the additional findPlugins for
the selected backend is changed to search the list of all plugin meta
data.
2015-10-02 09:31:47 +02:00

8 lines
159 B
JSON

{
"KPlugin": {
"Id": "KWinWaylandDrmBackend",
"Name": "drm",
"Description": "Render through drm node."
},
"input": false
}