fix, separate window, keyboard input

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow 2023-08-06 17:12:53 +08:00
parent 3c1465692e
commit baf8d2511d

View File

@ -389,6 +389,7 @@ pub fn session_enter_or_leave(_session_id: SessionID, _enter: bool) -> SyncRetur
#[cfg(not(any(target_os = "android", target_os = "ios")))]
if let Some(session) = SESSIONS.read().unwrap().get(&_session_id) {
if _enter {
set_cur_session_id(_session_id);
session.enter();
} else {
session.leave();