Commit 02f55e0e authored by Xaver Hugl's avatar Xaver Hugl
Browse files

wayland: print warning about automatic backend selection

BUG: 457491
parent aaa5e6fe
Pipeline #213120 passed with stage
in 11 minutes and 57 seconds
......@@ -468,10 +468,13 @@ int main(int argc, char *argv[])
backendType = BackendType::Virtual;
} else {
if (qEnvironmentVariableIsSet("WAYLAND_DISPLAY")) {
qWarning("No backend specified, automatically choosing Wayland because WAYLAND_DISPLAY is set");
backendType = BackendType::Wayland;
} else if (qEnvironmentVariableIsSet("DISPLAY")) {
qWarning("No backend specified, automatically choosing X11 because DISPLAY is set");
backendType = BackendType::X11;
} else {
qWarning("No backend specified, automatically choosing drm");
backendType = BackendType::Kms;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment