Describe the bug
When I run gamemoded -r [PID], it doesn't act like a toggle. The process runs and gamemoded -sdoes not return inactive until I kill all processes that were created via gamemoded -r [PID]
To Reproduce
Steps used to reproduce the behavior:
Choose an arbitrary process PID
run gamemoded -r [PID] &
run gamemoded -s [PID] (this is active as expected)
run gamemoded -r [PID] & again
run gamemoded -s [PID] (this is active again, which is not expected)
Expected behavior
The description for gamemoded -r is:
-r[PID], --request=[PID] Toggle gamemode for process When no PID given, requests gamemode and pauses
This is not the behavior I'm seeing. I expect to be able to call gamemoded -r [PID] twice and have gamemoded be inactive
System Info (please complete the following information):
Arch linux, Kernel: 6.4.12-zen1-1-zen
1.7 (AUR version)
Additional context
Add any other context about the problem here.
Describe the bug When I run
gamemoded -r [PID]
, it doesn't act like a toggle. The process runs andgamemoded -s
does not return inactive until I kill all processes that were created viagamemoded -r [PID]
To Reproduce Steps used to reproduce the behavior:
gamemoded -r [PID] &
gamemoded -s [PID]
(this is active as expected)gamemoded -r [PID] &
againgamemoded -s [PID]
(this is active again, which is not expected)Expected behavior The description for gamemoded -r is:
-r[PID], --request=[PID] Toggle gamemode for process When no PID given, requests gamemode and pauses
This is not the behavior I'm seeing. I expect to be able to callgamemoded -r [PID]
twice and have gamemoded be inactiveSystem Info (please complete the following information):
Additional context Add any other context about the problem here.