Skip to content

libobs-winrt: Capture secondary windows - #13828

Open
prgmitchell wants to merge 1 commit into
obsproject:masterfrom
prgmitchell:captureSecondaryWindows
Open

prgmitchell wants to merge 1 commit into
obsproject:masterfrom
prgmitchell:captureSecondaryWindows

Conversation

@prgmitchell

Copy link
Copy Markdown
Member

Description

Enable IncludeSecondaryWindows when available so child windows are captured on Windows 11 24H2 and later. Microsoft docs were my friend on this one but I really just copied what was being done in the same file for IsCursorCaptureEnabled.

Motivation and Context

Saw someone complaining in support that menus in Pro Tools weren't being captured with a window capture source.

How Has This Been Tested?

Tested v32.2.2 capturing Blender with WGC capture selected, the preferences menu was not visible in the capture. After these changes the preferences window was now captured. I don't have an older build of Windows to test on but behavior should be unchanged there since we are checking for IncludeSecondaryWindows at runtime before this is enabled.

Types of changes

  • Tweak (non-breaking change to improve existing functionality)

Checklist:

  • I have read the contributing document.
  • My code has been run through clang-format.
  • My code follows the project's style guidelines
  • My code is not on the master branch.
  • My code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

Enable IncludeSecondaryWindows when available so child windows are
captured on Windows 11 24H2 and later.
@WizardCM WizardCM added kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. platform/windows Categorizes issue or PR as affecting Windows specifically labels Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. platform/windows Categorizes issue or PR as affecting Windows specifically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants