chore: add TODO for optional keep-awake inhibition
Signed-off-by: Steve3184 <77789906+Steve3184@users.noreply.github.com>
This commit is contained in:
parent
c998f96c31
commit
a629f5d95a
1 changed files with 2 additions and 0 deletions
|
|
@ -1034,6 +1034,8 @@ pub fn get_capturables() -> Result<Vec<PipeWireCapturable>, Box<dyn Error>> {
|
|||
if rdp_connection.is_none() {
|
||||
let (conn, fd, streams, session, is_support_restore_token) = request_remote_desktop(false)?;
|
||||
let conn = Arc::new(conn);
|
||||
// to-do: Add an option like "Keep awake while RustDesk is running" to avoid
|
||||
// impacting users whose sessions are not automatically terminated upon entering the Dim Screen.
|
||||
let inhibit_path = if !is_server_running() { request_inhibit(&conn) } else { None };
|
||||
|
||||
let rdp_info = RdpSessionInfo {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue