Commit Graph

47 Commits

Author SHA1 Message Date
fufesou
937cea5a01
refact: remove virtual_display_driver (#7915)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2024-05-06 15:26:21 +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
c8392a714c license.rs -> custom_server.rs to remove misunderstanding 2024-02-26 18:05:54 +08:00
rustdesk
44e6b7dbb0 2fa for unattended access 2024-01-19 15:35:58 +08:00
fufesou
90ac8b7b0b feat/virtual_display_privacy_mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-11-14 12:11:38 +08:00
ClSlaid
30e85c8654
patch: make linux build ok
Signed-off-by: ClSlaid <cailue@bupt.edu.cn>
2023-10-29 23:42:04 +08:00
蔡略
a7bb90e7e6 Merge remote-tracking branch 'origin/master' into feat/x11/clipboard-file/init
Signed-off-by: 蔡略 <cailue@bupt.edu.cn>
2023-09-08 20:09:57 +08:00
蔡略
25cf36a948 feat: add x11 clipboard support
Signed-off-by: 蔡略 <cailue@bupt.edu.cn>
2023-09-08 19:39:00 +08:00
rustdesk
c9d19115e9 fix CI 2023-07-19 17:24:58 +08:00
rustdesk
f59ccb4da5 fix ci 2023-06-07 23:57:20 +08:00
rustdesk
b07ac438f5 working on windows service install/uninstall 2023-06-05 20:27:48 +08:00
Kingtous
c140bcfed6 feat: add native call 2023-04-28 13:49:58 +08:00
fufesou
6013725200 remove warns
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-19 12:06:01 +08:00
fufesou
ecf8c2664c plugin, tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-19 11:38:01 +08:00
Kingtous
f56fc6fdb0 fix: hook for pc only 2023-04-18 18:28:12 +08:00
fufesou
8f51e021c8 remove simple_rc
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 14:18:00 +08:00
fufesou
b7af404afa fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 13:01:38 +08:00
fufesou
9d8e7745e2 refact virtual display
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:06:32 +08:00
fufesou
042a4e575f tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:06:31 +08:00
fufesou
06a52e1b54 tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-17 12:06:30 +08:00
Kingtous
f2f39e31a1 feat: change dummy c to a rust plugin example 2023-04-13 02:14:59 +08:00
Kingtous
0c049c585e add: initial plugin manager 2023-04-10 00:07:45 +08:00
fufesou
0d5d073a43 trivial changes
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-08 20:28:34 +08:00
fufesou
f72593c281 tmp commit
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-08 19:49:11 +08:00
fufesou
d279588a64 fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-05 14:54:23 +08:00
fufesou
2c25be346c fix press/release single meta key
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2023-04-05 13:51:59 +08:00
rustdesk
7edb3e6e92 CI 2023-02-10 17:48:53 +08:00
rustdesk
be09728bf5 exclude ui module (sciter) for flutter 2023-02-10 17:09:31 +08:00
Asura
3b60304d14 refactor: keyboard of client 2022-12-08 09:03:41 +08:00
fufesou
3454454bd5 account oidc init rs
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-11-07 15:18:57 +08:00
Kingtous
220d056760 feat: implement tray in linux 2022-11-04 19:21:09 +08:00
rustdesk
f4871a992f refactor core_main, also fix windows flutter restart repeated fatal
error crash
2022-09-15 17:41:10 +08:00
csf
7eeb0f7335 refactor cm -> ui_cm_interface for sciter and flutter 2022-09-05 19:41:09 +08:00
csf
bdcb848a75 refactor remote interface 2022-08-31 16:31:31 +08:00
Kingtous
3b9c62b05d Merge remote-tracking branch 'rustdesk/master' into flutter_desktop
# Conflicts:
#	.github/workflows/ci.yml
#	Cargo.lock
#	Cargo.toml
#	flutter/lib/common.dart
#	flutter/lib/mobile/pages/remote_page.dart
#	flutter/lib/mobile/pages/server_page.dart
#	flutter/lib/mobile/pages/settings_page.dart
#	flutter/lib/mobile/widgets/dialog.dart
#	flutter/lib/models/model.dart
#	flutter/lib/models/server_model.dart
#	src/client.rs
#	src/common.rs
#	src/ipc.rs
#	src/mobile_ffi.rs
#	src/rendezvous_mediator.rs
#	src/ui.rs
2022-08-01 10:44:05 +08:00
fufesou
3613f27afc lan_discovery_WOL: fix udp set_nonblocking twice and lan refactor
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-07-15 20:39:42 +08:00
Kingtous
4a89469b84 Merge remote-tracking branch 'rustdesk/master' into flutter_desktop
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	build.rs
#	flutter/.gitignore
#	flutter/lib/common.dart
#	flutter/lib/mobile/pages/remote_page.dart
#	flutter/lib/models/model.dart
#	flutter/lib/models/native_model.dart
#	flutter/lib/models/server_model.dart
#	flutter/pubspec.lock
#	flutter/pubspec.yaml
#	src/client.rs
#	src/client/file_trait.rs
#	src/flutter.rs
#	src/mobile_ffi.rs
#	src/ui.rs
2022-06-27 11:18:53 +08:00
SoLongAndThanksForAllThePizza
7cd0940661 feat: insert core entry before launching flutter 2022-05-30 16:16:20 +08:00
fufesou
2081113bed simple_rc: win init simple resource pack
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-05-30 13:06:48 +08:00
csf
699907eebd fix build & create ui interface 2022-05-26 18:11:00 +08:00
SoLongAndThanksForAllThePizza
4d324063c5 add flutter feature and rename mobile to flutter 2022-05-25 20:23:02 +08:00
Kingtous
a364e7f808 demo: use mobile_ffi to get id for desktop version 2022-05-25 14:12:40 +08:00
csf
a7af7967f6 use new event channel for mobile and web 2022-05-17 19:59:37 +08:00
rustdesk
c1bad84a86 100% open source 2022-05-12 17:35:25 +08:00
fufesou
8834251eec move clipboard file service to cm module
Signed-off-by: fufesou <shuanglongchen@yeah.net>
2022-02-24 00:26:19 +08:00
rustdesk
af218dbc83 internationalization 2021-12-25 16:45:22 +08:00
rustdesk
d1013487e2 source code 2021-03-29 15:59:14 +08:00