mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-25 15:19:01 +00:00
add floating window setting (#8279)
* Set `disable-floating-window` in client ui, it shows enabled when option is enabled and has floating window permission. * Remove ignore battery setting because not work on every device. * When the phone orientation changes, make the Y coordinate change proportionally, when changing back, the floating window position is still the original one. * Add custom client option `floating-window-untouchable` to make the click event pass through the floating window automically. Set it untouchable automically when transparency is 0. * On my phone, floating window size 16 no works and 32 works, so keep the size range [32, 320] Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
1 parent
6d1d844b14
commit
64d0fb17f7
47 files changed
+155
-14
No files matched your search
@@ -229,5 +229,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("confirm_clear_Wayland_screen_selection_tip", "Are you sure to clear the Wayland screen selection?"),
|
||||
("android_new_voice_call_tip", "A new voice call request was received. If you accept, the audio will switch to voice communication."),
|
||||
("texture_render_tip", "Use texture rendering to make the pictures smoother. You could try disabling this option if you encounter rendering issues."),
|
||||
("floating_window_tip", "It helps to keep RustDesk background service"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
Reference in new issue
Block a user