This repository was archived by the owner on Jan 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vm_tools: sommelier: Parse steam_game_id from WM_CLASS as a fallback.
Some games have the STEAM_GAME property set on their launcher window, but not on their game window. But in at least some cases, the WM_CLASS *is* set on the game window with the format "steam_app_<id>\0steam_app_<id>". We can use this to extract the steam_game_id in cases where STEAM_GAME is missing. BUG=b:281593467 TEST=run unit tests: meson setup builddir -Dquirks=true; pushd builddir; ninja && ./sommelier_test; popd Change-Id: Ia59d49ce7e7a91d380c07ba2b85ab46d1e1ce404 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/4930950 Reviewed-by: Lucy Qu <[email protected]> Commit-Queue: Lucy Qu <[email protected]> Auto-Submit: Chloe Pelling <[email protected]> Tested-by: Chloe Pelling <[email protected]>
- Loading branch information
Showing
2 changed files
with
99 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters