fufesou
cd7e3e4505
fix(update): macos, input password ( #14430 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2026-03-01 15:19:07 +08:00
fufesou
998b75856d
feat: Add relative mouse mode ( #13928 )
...
* feat: Add relative mouse mode
- Add "Relative Mouse Mode" toggle in desktop toolbar and bind to InputModel
- Implement relative mouse movement path: Flutter pointer deltas -> `type: move_relative` -> new `MOUSE_TYPE_MOVE_RELATIVE` in Rust
- In server input service, simulate relative movement via Enigo and keep latest cursor position in sync
- Track pointer-lock center in Flutter (local widget + screen coordinates) and re-center OS cursor after each relative move
- Update pointer-lock center on window move/resize/restore/maximize and when remote display geometry changes
- Hide local cursor when relative mouse mode is active (both Flutter cursor and OS cursor), restore on leave/disable
- On Windows, clip OS cursor to the window rect while in relative mode and release clip when leaving/turning off
- Implement platform helpers: `get_cursor_pos`, `set_cursor_pos`, `show_cursor`, `clip_cursor` (no-op clip/hide on Linux for now)
- Add keyboard shortcut Ctrl+Alt+Shift+M to toggle relative mode (enabled by default, works on all platforms)
- Remove `enable-relative-mouse-shortcut` config option - shortcut is now always available when keyboard permission is granted
- Handle window blur/focus/minimize events to properly release/restore cursor constraints
- Add MOUSE_TYPE_MASK constant and unit tests for mouse event constants
Note: Relative mouse mode state is NOT persisted to config (session-only).
Note: On Linux, show_cursor and clip_cursor are no-ops; cursor hiding is handled by Flutter side.
Signed-off-by: fufesou <linlong1266@gmail.com >
* feat(mouse): relative mouse mode, exit hint
Signed-off-by: fufesou <linlong1266@gmail.com >
* refact(relative mouse): shortcut
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
2026-01-09 10:03:14 +08:00
fufesou
426a68775f
feat: macos, update dmg ( #13579 )
2025-11-21 10:27:37 +08:00
RustDesk
3c0be4e40e
Revert "feat: macos, update dmg ( #13539 )" ( #13577 )
...
This reverts commit a6571e71e4 .
2025-11-20 23:18:00 +08:00
fufesou
a6571e71e4
feat: macos, update dmg ( #13539 )
...
* feat: macos, update dmg
Signed-off-by: fufesou <linlong1266@gmail.com >
* Update src/platform/macos.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fix: macos update, remove temp update dir
Signed-off-by: fufesou <linlong1266@gmail.com >
* refact: macos update, print
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-11-18 00:30:23 +08:00
fufesou
e2ec6a5be8
feat: whiteboard, macos ( #12780 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-08-30 22:16:35 +08:00
fufesou
a22f2108c6
refact: suppress warns on macos ( #12449 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-08-18 15:09:11 +08:00
rustdesk
bf24869c6a
fix bundle id
2025-08-17 15:37:12 +08:00
rustdesk
1aed6f3c2e
compile warn
2025-08-17 10:08:12 +08:00
rustdesk
6367d50d76
fix myself
2025-08-17 10:04:40 +08:00
rustdesk
16d301a783
try AssociatedBundleIdentifiers per https://developer.apple.com/documentation/servicemanagement/updating-helper-executables-from-earlier-versions-of-macos#Respond-to-changes-in-System-Settings
2025-08-14 18:47:52 +08:00
rustdesk
77064cc2f8
fix ci
2025-08-10 17:50:25 +08:00
fufesou
39b91911cb
fix: update macos ( #12578 )
...
* fix: update macos
1. Use `ditto` instead of `cp -r`.
2. Add prompt for extracting dmg.
Signed-off-by: fufesou <linlong1266@gmail.com >
* fix: error to err
Signed-off-by: fufesou <linlong1266@gmail.com >
* Refact: Remove "Extracting"
Signed-off-by: fufesou <linlong1266@gmail.com >
---------
Signed-off-by: fufesou <linlong1266@gmail.com >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2025-08-07 23:31:31 +08:00
fufesou
511a0b3693
refact: macos, comments, resolution list ( #11830 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-05-21 18:23:14 +08:00
fufesou
06ab987e32
fix: macos, hidpi, resolutions ( #11825 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-05-21 16:53:02 +08:00
fufesou
ca00706a38
feat, update, win, macos ( #11618 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-05-04 07:32:47 +08:00
fufesou
198967ea35
fix: allow logon screen password, on lock screen ( #11566 )
...
Signed-off-by: fufesou <linlong1266@gmail.com >
2025-04-25 10:37:09 +08:00
rustdesk
ef90ab2bd4
compelete fix https://github.com/rustdesk/rustdesk/discussions/10210
...
rather than the awful workaround
2025-01-01 23:05:52 +08:00
Integral
49dabd3533
refactor: replace &PathBuf with &Path to enhance generality ( #10332 )
2024-12-23 20:28:04 +08:00
rustdesk
cacca7295c
fix memory leak on mac because of wrong use of objc, by wrapping autoreleasepool
2024-09-12 14:26:29 +08:00
rustdesk
f3a2733d75
start mac service more later
2024-08-27 20:25:01 +08:00
rustdesk
690a2c8399
still find delegate failure when my mac restarted automatically sometimes
2024-08-26 17:07:02 +08:00
rustdesk
579e0fac36
fix https://github.com/rustdesk/rustdesk/issues/9088
2024-08-16 12:20:40 +08:00
rustdesk
0bf9de8256
also check --server in loop
2024-06-19 21:29:54 +08:00
rustdesk
27478946ea
open new window not always work, so give it a little time before exit
2024-06-19 21:17:26 +08:00
rustdesk
1f25a8af86
fix macos stop service on gui not restart
2024-06-19 20:23:05 +08:00
rustdesk
d75caad71f
move --server check into daemon.plist
2024-06-19 19:54:30 +08:00
rustdesk
adf0226641
fix ci and make macos service time check more aggressive
2024-06-19 19:10:44 +08:00
rustdesk
137f58a84a
refactor macos service for delegate again, remove runme in install service of linux
2024-06-19 18:49:49 +08:00
rustdesk
60dc40f47f
try hide docker in tao delegate because hide in rustdesk side a bit late so that still seeing it sometimes
...
refactor service to make it restart after login to avoid delegate caught for seconds after login
also make main windows Close event restart itself for above case
2024-06-19 15:42:53 +08:00
Sahil Yeole
3811f41076
Feat: Follow remote cursor and window focus | Auto display switch ( #7717 )
...
* feat: auto switch display on follow remote cursor
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* feat: auto switch display on follow remote window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build and remove unused imports
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix linux get_focused_window_id
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* lock show remote cursor when follow remote cursor is enabled
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix config
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* prevent auto display switch on show all display and displays as individual windows
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove unused function
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove unwraps and improve iterations
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* set updateCursorPos to false to avoid interrupting remote cursor
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* update lang
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix web build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* update checks for options and enable in view mode
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use focused display index for window focus service
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use window center for windows display focused
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove unused imports
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use libxdo instead of xdotool
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix multi monitor check
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* enable show cursor when follow cursor is default
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove show_all_displays,use runtime state instead
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix show cursor lock state on default
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove view mode with follow options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use separate message for follow current display
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix options
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* sciter support for follow remote cursor and window
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* add check for ui session handlers count
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use cached displays and remove peer info write
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* No follow options when show all displays
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* No follow options when multi ui session
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* turn off follow options when not used|prevent msgs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use window center for switch in linux
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* use subbed display count to prevent switch msgs
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix web build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* move subbed displays count
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* fix build
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* add noperms for window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* add subscribe for window focus
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* remove window_focus message and unsub on multi ui
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
* add multi ui session field
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
---------
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com >
Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com >
2024-04-25 13:26:02 +08:00
rustdesk
67ee3a5a67
refresh_process_specifics
2024-04-23 20:26:21 +08:00
rustdesk
f11c332cb4
continue to remove --service runtime
2024-04-23 13:52:36 +08:00
rustdesk
4c62d8c1b2
optimize runtime performance of macOS --service
2024-04-22 21:31:53 +08:00
RustDesk
6e689400b6
Revert "macos support uni command "rustdesk rustdesk://xxxx" without mainwind…" ( #7536 )
...
This reverts commit 50fbf8833b .
2024-03-27 14:24:14 +08:00
21pages
50fbf8833b
macos support uni command "rustdesk rustdesk://xxxx" without mainwindow ( #7534 )
...
Signed-off-by: 21pages <pages21@163.com >
2024-03-27 13:42:50 +08:00
rustdesk
1fa3837bb0
revert back to async_trait since having to use 1.75 because of win7
...
support
2024-03-27 03:36:33 +08:00
rustdesk
5aec5b084a
refactor --service/--server start time check (my stupid to restart
...
--server)
2024-03-27 03:02:36 +08:00
rustdesk
85f387bfb9
improve https://github.com/rustdesk/rustdesk/discussions/5631#discussioncomment-8916273
2024-03-27 00:38:13 +08:00
rustdesk
81aec8402b
Temp solution for https://github.com/rustdesk/rustdesk/discussions/5631
2024-03-26 22:31:58 +08:00
rustdesk
a28c9f8f36
remove more "rustdesk" built-in
2024-02-25 13:29:06 +08:00
rustdesk
f7f3bc8bee
fix mac tray icon to use template icon, no need to know theme any more
2024-02-16 12:29:32 +08:00
21pages
50b81c2356
fix windows wakelock, add set_display ( #6623 )
...
Signed-off-by: 21pages <pages21@163.com >
2023-12-05 21:32:44 +08:00
21pages
f05f86dc80
444
...
Signed-off-by: 21pages <pages21@163.com >
2023-10-30 18:46:56 +08:00
fufesou
db2e4f30a7
Privacy mode, msgbox, add details
...
Signed-off-by: fufesou <shuanglongchen@yeah.net >
2023-09-17 10:53:04 +08:00
rustdesk
8235bca664
fix mac uninstall service
2023-09-04 16:22:56 +08:00
rustdesk
4b33ee6309
fix uninstall service on mac from main window because of ipc close
...
myself
2023-08-13 19:51:02 +08:00
rustdesk
089078472f
my bad
2023-08-13 15:37:29 +08:00
rustdesk
0e6d368970
fix --server not killed when stop service on mac
2023-08-12 15:10:38 +08:00
rustdesk
4d7a6dd661
install-service/uninstall-service
2023-07-27 16:49:19 +08:00