Merge "minui: Support main fbdev connector in multi connector Blank function"

This commit is contained in:
Treehugger Robot 2022-09-13 06:30:12 +00:00 committed by Gerrit Code Review
commit 3f125fa897

View file

@ -44,7 +44,11 @@ void MinuiBackendFbdev::Blank(bool blank) {
}
void MinuiBackendFbdev::Blank(bool blank, DrmConnector index) {
fprintf(stderr, "Unsupported multiple connectors, blank = %d, index = %d\n", blank, index);
if (index == DRM_MAIN) {
MinuiBackendFbdev::Blank(blank);
} else {
fprintf(stderr, "Unsupported multiple connectors, blank = %d, index = %d\n", blank, index);
}
}
bool MinuiBackendFbdev::HasMultipleConnectors() {