Skip to content

Commit

Permalink
win-capture: Add 9 window class auto switch to WGC mode
Browse files Browse the repository at this point in the history
Add "GAMINGSERVICESUI_HOSTING_WINDOW_CLASS", "screenClass",
"PodiumParent", "OMain", "Framework::CFrame", "rctrl_renwnd32",
"MSWinPub", "OfficeApp-Frame" and "SDL_app".
  • Loading branch information
TianQiBuTian authored and RytoEX committed Oct 9, 2023
1 parent 3a1a0eb commit c56017b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions plugins/win-capture/window-capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down

0 comments on commit c56017b

Please sign in to comment.