Changeset View
Changeset View
Standalone View
Standalone View
main_wayland.cpp
Show First 20 Lines • Show All 771 Lines • ▼ Show 20 Line(s) | |||||
772 | #endif | 772 | #endif | ||
773 | if (hasVirtualOption && parser.isSet(virtualFbOption)) { | 773 | if (hasVirtualOption && parser.isSet(virtualFbOption)) { | ||
774 | pluginName = KWin::s_virtualPlugin; | 774 | pluginName = KWin::s_virtualPlugin; | ||
775 | } | 775 | } | ||
776 | 776 | | |||
777 | if (pluginName.isEmpty()) { | 777 | if (pluginName.isEmpty()) { | ||
778 | std::cerr << "No backend specified through command line argument, trying auto resolution" << std::endl; | 778 | std::cerr << "No backend specified through command line argument, trying auto resolution" << std::endl; | ||
779 | pluginName = KWin::automaticBackendSelection(); | 779 | pluginName = KWin::automaticBackendSelection(); | ||
780 | std::cerr << "Selected backend " << pluginName.toStdString() << std::endl; | ||||
romangg: Put this after the if clause (such that it shows the selected backend also on manual setting). | |||||
780 | } | 781 | } | ||
781 | 782 | | |||
782 | auto pluginIt = std::find_if(availablePlugins.begin(), availablePlugins.end(), | 783 | auto pluginIt = std::find_if(availablePlugins.begin(), availablePlugins.end(), | ||
783 | [&pluginName] (const KPluginMetaData &plugin) { | 784 | [&pluginName] (const KPluginMetaData &plugin) { | ||
784 | return plugin.pluginId() == pluginName; | 785 | return plugin.pluginId() == pluginName; | ||
785 | } | 786 | } | ||
786 | ); | 787 | ); | ||
787 | if (pluginIt == availablePlugins.end()) { | 788 | if (pluginIt == availablePlugins.end()) { | ||
Show All 40 Lines |
Put this after the if clause (such that it shows the selected backend also on manual setting). But it's unrelated to GBM remote accesss, so better remove it and commit it as separate patch.