GNOME Bugzilla – Bug 767982
screensaver-proxy: Better metadata for SDL games
Last modified: 2018-10-25 11:32:51 UTC
.
Created attachment 330273 [details] [review] screensaver-proxy: Better metadata for SDL games XXX unfinished
See also: https://github.com/flatpak/xdg-desktop-portal/commit/925a13934face0642620f79f64c4c8b83ac60f06
Created attachment 371664 [details] [review] screensaver-proxy: Better metadata for SDL games SDL applications (usually games) don't have any API to provide an application ID and a reason for inhibition, so if those are Flatpak'ed get the application ID from the Flatpak, and use the gathered name as the reason for inhibition.
I haven't tested this yet, so beware.
Review of attachment 371664 [details] [review]: To be honest, I am not a huge fan of this special case just for the sake of SDL. And this case is so specific, that it will break already if SDL e.g. marks the string as translatable. If we do this hack, would it be possible to document it in the SDL code to ensure we are notified about changes there?
Moved to https://gitlab.gnome.org/GNOME/gnome-settings-daemon/merge_requests/60