-
-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
desktop: Add gamemode support #17940
base: master
Are you sure you want to change the base?
Conversation
Bah, Also, just curious, what made you go with But technically, |
That's true.
That's also true. I could go with However, if we have good reasons to stick with (I'm also considering rewriting our |
No, quite the opposite, in agreement with you. I was just checking my assumptions. |
CI only lints on linux so I'll pretend to be a bot for a moment.
|
Dinnerbot? 👀 |
bc541b2
to
7f1f8ab
Compare
[[package]] | ||
name = "ashpd" | ||
version = "0.9.0" | ||
source = "git+https://github.com/bilelmoussaoui/ashpd.git?rev=34c0ab8f83cd16c3190ecc4cc51021daa531d89b#34c0ab8f83cd16c3190ecc4cc51021daa531d89b" | ||
dependencies = [ | ||
"enumflags2", | ||
"futures-channel", | ||
"futures-util", | ||
"rand", | ||
"serde", | ||
"serde_repr", | ||
"tokio", | ||
"url", | ||
"zbus", | ||
] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we maybe [patch.crates-io]
, so it doesn't get duplicated?
I suppose it's not a big deal, and that would be just one more piece of debris to clean up afterward...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or we could just wait a few days...: bilelmoussaoui/ashpd#234 (comment) :)
Fixes #17895.
This PR adds gamemode support through ashpd (Linux-only).
Off
—gamemode is disabled,On
—gamemode is enabled,Default
—gamemode is enabled only on high power preference.--gamemode
is added.Gamemode is requested only when a SWF file is loaded.
TODO:
Default
does.i32
for pid bilelmoussaoui/ashpd#234 is released.