Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/topmost window exclude from capture #6470

Merged

Conversation

fufesou
Copy link
Collaborator

@fufesou fufesou commented Nov 19, 2023

  1. Check if windows version >= "Windows 2004", then use a better privacy mode implementation.
    https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowdisplayaffinity
  2. Remove redundent global variable CUR_PRIVACY_MODE_IMPL and PRIVACY_MODE_CONN_ID.
  3. Send a "Exit privacy mode" message in the middle of swithing privacy mode.
windows-2004-1.mp4
windows-2004-2.mp4

Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
@fufesou fufesou closed this Nov 20, 2023
Signed-off-by: fufesou <shuanglongchen@yeah.net>
Signed-off-by: fufesou <shuanglongchen@yeah.net>
@fufesou fufesou reopened this Nov 20, 2023
Signed-off-by: fufesou <shuanglongchen@yeah.net>
@rustdesk rustdesk merged commit b535722 into rustdesk:master Nov 20, 2023
18 checks passed
@fufesou fufesou deleted the feat/topmost_window_exclude_from_capture branch November 21, 2023 06:17
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.

None yet

3 participants