rustdesk/flutter/lib/desktop/widgets
StealUrKill bff47e2b81
Feature: Add monitor-switch buttons to remote toolbars (#15342)
* Feature: add monitor-switch buttons to remote toolbars

Add buttons to cycle through the remote displays from the toolbars:

- A main-toolbar button and a minimized-handle button, both using a shared SVG icon with the current monitor number overlaid.
- Two opt-in settings under Settings/Other. The minimized-toolbar option is nested under the main-toolbar option.
- The minimized button only appears once the toolbar is collapsed.
- Cycling does not move the remote cursor, matching the existing in-toolbar monitor buttons.

Signed-off-by: StealUrKill <35749471+StealUrKill@users.noreply.github.com>

* fix: respect individual-window display mode when cycling

In "Show displays as individual windows" mode, route the cycle button through openMonitorInNewTabOrWindow like the monitor selector, so each display keeps its own window instead of repurposing the current one.

Signed-off-by: StealUrKill <35749471+StealUrKill@users.noreply.github.com>

---------

Signed-off-by: StealUrKill <35749471+StealUrKill@users.noreply.github.com>
2026-06-20 01:22:20 +08:00
..
button.dart add auto-size-text for installCard button 2022-10-24 15:58:24 +08:00
dragable_divider.dart remove stupid group, bad implementation, buggy, and not usable 2023-06-23 17:05:48 +08:00
kb_layout_type_chooser.dart feat: web v2 keyboard (#9175) 2024-08-26 12:13:11 +08:00
list_search_action_listener.dart feat: make file manager draggable 2023-02-24 15:57:22 +08:00
material_mod_popup_menu.dart try out 3.22.2 2024-06-21 12:33:24 +08:00
menu_button.dart file rename (#9089) 2024-08-16 12:55:58 +08:00
popup_menu.dart refact: init values from initState to Constractor (#8817) 2024-07-25 10:45:51 +08:00
refresh_wrapper.dart fix: synchronize macOS window theme on flutter theme changed. 2023-02-02 13:57:40 +08:00
remote_toolbar.dart Feature: Add monitor-switch buttons to remote toolbars (#15342) 2026-06-20 01:22:20 +08:00
tabbar_widget.dart fix(custom-client): desktop, incoming only, touch drag (#14928) 2026-05-11 12:58:32 +08:00
titlebar_widget.dart showTitle default to false, change titlebar logo 2023-02-10 15:05:35 +08:00
update_progress.dart refact: macos, update, preparing for installation (#12581) 2025-08-08 14:25:22 +08:00