72 Commits

Author SHA1 Message Date
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 50fbf8833b73d7c73752c6ca4f2ad4722f6d62e7.
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
21pages
aa740f4263 remove many unwrap and enum_value_or_default
Signed-off-by: 21pages <pages21@163.com>
2023-07-23 20:00:58 +08:00
rustdesk
a96eb236c1 try to fix issue #3261 with new api, but not sure if it works 2023-07-10 17:31:04 +08:00
sjpark
35f45e4a5e macos cursor bugfix 2023-06-10 06:52:42 +09:00
rustdesk
53431eb162 no duplidate trays 2023-06-09 22:33:38 +08:00
rustdesk
644da37a4f refactor tray uninstall service 2023-06-09 22:02:25 +08:00
rustdesk
9a1fee792e fix android/ios ci 2023-06-08 00:35:11 +08:00
21pages
98740dbfd7 keep server device awake if have connection
Signed-off-by: 21pages <pages21@163.com>
2023-06-05 20:26:57 +08:00
fufesou
b36a3f70fb change resolution, macos needs more tests
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-24 22:50:53 +08:00
fufesou
9ecf0e3f89 refactor elevate on macOS
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-16 16:14:08 +08:00
fufesou
8a70bddd76 plugin_framework, test macos
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-05-12 08:49:19 +08:00
Kingtous
3980e52a88 opt: close main window when exit from tray on macOS 2023-05-02 23:48:49 +08:00
rustdesk
09b823d637 higher sysinfo version 2023-03-10 23:41:01 +08:00
21pages
b9b4913ca0 mac admin auth check 2023-02-27 08:49:39 +08:00
fufesou
b8b3e99602 macos, periodically check if current display is changed
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-02-25 22:39:12 +08:00
21pages
5b8e51d6b9 mac resolution
Signed-off-by: 21pages <pages21@163.com>
2023-02-24 10:44:04 +08:00
rustdesk
bb26ba3384 Exit in mac tray 2023-02-23 20:01:50 +08:00
21pages
4beacf93d7 kill check-hwcodec-config process
Signed-off-by: 21pages <pages21@163.com>
2023-02-21 16:34:24 +08:00
rustdesk
f7643077d3 new tray 2023-02-09 21:28:42 +08:00
rustdesk
fcd1f9b4a3 refactor handle_applicationShouldOpenUntitledFile 2023-02-09 18:11:32 +08:00
rustdesk
aac12c2b21 applicationShouldOpenUntitledFile 2023-01-20 01:25:15 +08:00
rustdesk
3cbcd2e46a mac tray icon opt 2023-01-11 15:35:35 +08:00
Josh Soref
1011568fc1 spelling: privileged
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:59:08 -05:00
Josh Soref
19046ba867 spelling: colorspace
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-09 12:58:33 -05:00
rustdesk
9648c57f67 try out hide_docker 2023-01-09 13:59:33 +08:00
rustdesk
b048e5b280 adding input monitoring priviledge detect for mac 2023-01-06 12:20:26 +08:00
KG7x
71103886e6 Fix typo 2022-12-25 20:21:13 +03:00
21pages
51cfa6f666 run_as_user use vec arg
Signed-off-by: 21pages <pages21@163.com>
2022-11-27 15:17:14 +08:00
fufesou
e229324021 flutter_desktop: get double click time, win
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-01 23:04:07 -07:00
21pages
150057f92d fix default video save directory
Signed-off-by: 21pages <pages21@163.com>
2022-10-12 16:48:06 +08:00
tom
ae839bd5bf update linux.rs & macos.rs with bytes:Byte
issues:958
2022-07-17 00:59:56 +08:00