-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check baselayer sequence before rearranging (#193)
* umu_run: check baselayer before rearranging it - The current window setup codepath that's gated behind the check for XDG_CURRENT_DESKTOP and STEAM_MULTIPLE_XWAYLANDS didn't account for situations when umu-launcher is being used with unofficial gamescope session scripts within a non-Steam-deck environment. In those cases, both those variables would be set as those scripts would create 2 xwayland servers just like the Steam Deck gamescope session, causing the game window to not appear in the foreground as the launcher would rearrange the already correct baselayer sequence. While the current logic was incorrect, it highlighted an existing problem -- the launcher shouldn't always be assuming the sequence is incorrect and rearranging the baselayer order sequence only if the window atom exists. Instead, it should only be rearranging it when it needs to be. * umu_run: update comment * umu_test: add test when passed a sequence that should not be rearranged
- Loading branch information
Showing
2 changed files
with
39 additions
and
7 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