mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-22 20:51:17 +03:00
fix: wayland, accept conn (#7951)
Show prompt window after the controlled side accepting the connection. Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -1228,6 +1228,10 @@ impl Connection {
|
||||
if self.file_transfer.is_some() {
|
||||
res.set_peer_info(pi);
|
||||
} else {
|
||||
if let Some(msg_out) = super::display_service::is_inited_msg() {
|
||||
self.send(msg_out).await;
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
{
|
||||
#[cfg(not(windows))]
|
||||
@@ -1249,9 +1253,6 @@ impl Connection {
|
||||
}
|
||||
|
||||
try_activate_screen();
|
||||
if let Some(msg_out) = super::video_service::is_inited_msg() {
|
||||
self.send(msg_out).await;
|
||||
}
|
||||
|
||||
match super::display_service::update_get_sync_displays().await {
|
||||
Err(err) => {
|
||||
|
||||
Reference in New Issue
Block a user