Change gamescope defaults to display windows in fullscreen

This commit is contained in:
Trevonn 2021-08-02 17:57:39 +01:00 committed by Mathieu Comandon
parent 997213e032
commit 9ae1553e2d

View file

@ -107,7 +107,7 @@ def get_launch_parameters(runner, gameplay_info):
def get_gamescope_args(launch_arguments, system_config):
"""Insert gamescope at the start of the launch arguments"""
launch_arguments.insert(0, "--")
launch_arguments.insert(0, "-f --")
if system_config.get("gamescope_output_res"):
output_width, output_height = system_config["gamescope_output_res"].lower().split("x")
launch_arguments.insert(0, output_height)