mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
remember remote window fullscreen, set global state
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
@@ -410,6 +410,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
|
||||
void onRemoveId(String id) async {
|
||||
if (tabController.state.value.tabs.isEmpty) {
|
||||
await WindowController.fromWindowId(windowId()).close();
|
||||
stateGlobal.setFullscreen(false, procWnd: false);
|
||||
}
|
||||
ConnectionTypeState.delete(id);
|
||||
_update_remote_count();
|
||||
|
||||
Reference in New Issue
Block a user