From eaa92a428263832d01ebd8cf1b486b5cc0b2d708 Mon Sep 17 00:00:00 2001 From: Alex Butler Date: Wed, 21 Jun 2017 19:59:56 +0100 Subject: [PATCH] Improve unix backend env var docs --- src/platform/linux/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/linux/mod.rs b/src/platform/linux/mod.rs index 2b8e53cd..909ca1e3 100644 --- a/src/platform/linux/mod.rs +++ b/src/platform/linux/mod.rs @@ -19,8 +19,8 @@ pub mod x11; /// Environment variable that indicates a backend preference /// `WINIT_UNIX_BACKEND=x11` : Will try to use an X11 backend /// `WINIT_UNIX_BACKEND=wayland` : Will try to use a wayland backend -/// When used is selected backends will not fallback to one another -/// (Current default behaviour is wayland, fallback to X) +/// When the variable is present the indicated backend will not fallback to another +/// (Current default behaviour, without the env var, is try wayland then fallback to X) const BACKEND_PREFERENCE_ENV_VAR: &str = "WINIT_UNIX_BACKEND"; #[derive(Clone, Default)]