Merge pull request #5809 from sahilyeole/fix/wayland_server_start_late

Fix wayland --server starting late
This commit is contained in:
RustDesk 2023-09-25 19:53:21 +08:00 committed by GitHub
commit 986e58aeec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1088,7 +1088,7 @@ mod desktop {
self.uid = seat0_values[1].clone();
self.username = seat0_values[2].clone();
self.protocal = get_display_server_of_session(&self.sid).into();
if self.is_login_wayland() {
if self.is_wayland() {
self.display = "".to_owned();
self.xauth = "".to_owned();
self.is_rustdesk_subprocess = false;