alexeymin created this revision. alexeymin added reviewers: romangg, zzag. Herald added a project: KWin. Herald added a subscriber: kwin. alexeymin requested review of this revision.
REVISION SUMMARY Choose backend automatically, based on actually available plugins at runtime, independently of kwin compile options. Don't limit command line options too. TEST PLAN compile kwin without some of backends. Then compile kwin with that backend separately, manually copy the appropriate plugin into plugins directory. Verify that `kwin_wayland --help` lists that option, and running kwin_wayland without arguments, with proper environment automatically selects proper backend plugin. REPOSITORY R108 KWin BRANCH alexeymin/automatic-backend-selection REVISION DETAIL https://phabricator.kde.org/D22418 AFFECTED FILES main_wayland.cpp To: alexeymin, romangg, zzag Cc: kwin, plasma-devel, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart