From 39515f3ed3e91d02732b5786fc34811a735b52f6 Mon Sep 17 00:00:00 2001
From: RustDesk <71636191+rustdesk@users.noreply.github.com>
Date: Mon, 30 Jan 2023 15:48:54 +0800
Subject: [PATCH] Revert "Remove remnant documentation for wayland fix"
---
src/lang/en.rs | 1 +
src/ui/index.tis | 30 ++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+)
diff --git a/src/lang/en.rs b/src/lang/en.rs
index bacef699c..6eed43a77 100644
--- a/src/lang/en.rs
+++ b/src/lang/en.rs
@@ -25,6 +25,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
("android_version_audio_tip", "The current Android version does not support audio capture, please upgrade to Android 10 or higher."),
("android_start_service_tip", "Tap [Start Service] or OPEN [Screen Capture] permission to start the screen sharing service."),
("doc_mac_permission", "https://rustdesk.com/docs/en/manual/mac/#enable-permissions"),
+ ("doc_fix_wayland", "https://rustdesk.com/docs/en/manual/linux/#x11-required"),
("server_not_support", "Not yet supported by the server"),
("android_open_battery_optimizations_tip", "If you want to disable this feature, please go to the next RustDesk application settings page, find and enter [Battery], Uncheck [Unrestricted]"),
("remote_restarting_tip", "Remote device is restarting, please close this message box and reconnect with permanent password after a while"),
diff --git a/src/ui/index.tis b/src/ui/index.tis
index 68787c86f..e718e4380 100644
--- a/src/ui/index.tis
+++ b/src/ui/index.tis
@@ -558,6 +558,8 @@ class App: Reactor.Component
{is_can_screen_recording && !handler.is_process_trusted(false) ?