0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

win-capture: Add 9 window class auto switch to WGC mode

Add "GAMINGSERVICESUI_HOSTING_WINDOW_CLASS", "screenClass",
"PodiumParent", "OMain", "Framework::CFrame", "rctrl_renwnd32",
"MSWinPub", "OfficeApp-Frame" and "SDL_app".
This commit is contained in:
田七不甜 2023-09-28 08:08:13 +08:00 committed by Ryan Foster
parent 3a1a0ebeba
commit c56017beb0

View File

@ -122,9 +122,18 @@ static const char *wgc_partial_match_classes[] = {
static const char *wgc_whole_match_classes[] = {
"ApplicationFrameWindow",
"Windows.UI.Core.CoreWindow",
"XLMAIN", /* excel*/
"PPTFrameClass", /* powerpoint */
"OpusApp", /* word */
"GAMINGSERVICESUI_HOSTING_WINDOW_CLASS",
"XLMAIN", /* Microsoft Excel */
"PPTFrameClass", /* Microsoft PowerPoint */
"screenClass", /* Microsoft PowerPoint (Slide Show) */
"PodiumParent", /* Microsoft PowerPoint (Presenter View) */
"OpusApp", /* Microsoft Word */
"OMain", /* Microsoft Access */
"Framework::CFrame", /* Microsoft OneNote */
"rctrl_renwnd32", /* Microsoft Outlook */
"MSWinPub", /* Microsoft Publisher */
"OfficeApp-Frame", /* Microsoft 365 Software */
"SDL_app",
NULL,
};