fc0272f3c4
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.
8 lines
198 B
JSON
8 lines
198 B
JSON
{
|
|
"KPlugin": {
|
|
"Id": "KWinWaylandWaylandBackend",
|
|
"Name": "wayland",
|
|
"Description": "Render to a nested window on running Wayland compositor."
|
|
},
|
|
"input": true
|
|
}
|