Merge pull request #5267 from dignow/fix/separate_windows_keyboard
fix, separate window, keyboard input
This commit is contained in:
commit
221fe6223a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user