Skip to content

Commit

Permalink
umu_run: use the function to get the sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jul 18, 2024
1 parent 157451a commit 6c99de8
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,13 +587,7 @@ def monitor_baselayer(
log.debug("Property value for atom '%s': %s", atom, prop.value)
if prop.value == gamescope_baselayer_sequence:
log.debug("Broken base layer sequence detected")
log.debug("Rearranging base layer sequence")
rearranged = [
prop.value[0],
prop.value[3],
prop.value[1],
prop.value[2],
]
rearranged, _ = rearrange_gamescope_baselayer_order(prop.value)
log.debug("'%s' -> '%s'", prop.value, rearranged)
set_gamescope_baselayer_order(d_primary, rearranged)
continue
Expand Down

0 comments on commit 6c99de8

Please sign in to comment.