Skip to content

feat: add exit_listen func to stop listening#16

Open
Pranav2612000 wants to merge 1 commit into
rustdesk-org:masterfrom
Pranav2612000:feat/add-support-for-exit-listern
Open

feat: add exit_listen func to stop listening#16
Pranav2612000 wants to merge 1 commit into
rustdesk-org:masterfrom
Pranav2612000:feat/add-support-for-exit-listern

Conversation

@Pranav2612000

Copy link
Copy Markdown

What does this PR do?

  • Adds an exit_listen function similar to exit_grab to stop listening for events

@rustdesk

Copy link
Copy Markdown
Collaborator

@fufesou

@fufesou

fufesou commented Oct 15, 2025

Copy link
Copy Markdown

This PR works fine. It is OK to stop and start again and again.

As methioned above, exit_listen is similar to exit_grab.

pub fn exit_grab() -> Result<(), GrabError> {

NOTE: RustDesk does not use listen(), it uses grab().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants