flathub / com.heroicgameslauncher.hgl

https://flathub.org/apps/details/com.heroicgameslauncher.hgl
18 stars 16 forks source link

App uses X even on systems with wayland #170

Open Twig6943 opened 6 days ago

Twig6943 commented 6 days ago

title.

Etaash-mathamsetty commented 6 days ago

since heroic should still be able to run inside gamescope I think this is unfortunately not going to happen for now, but maybe in the future it will be possible

Twig6943 commented 6 days ago

@Etaash-mathamsetty I mean just adding the --ozone-platform-hint=auto flag to the .desktop file seems to be enough to solve this issue. I don't see why it shouldn't be done (Ik its just a single line change but I'm willing to send a PR)

Etaash-mathamsetty commented 6 days ago

@Etaash-mathamsetty I mean just adding the --ozone-platform-hint=auto flag to the .desktop file seems to be enough to solve this issue. I don't see why it shouldn't be done (Ik its just a single line change but I'm willing to send a PR)

I was wrong, it should work because gamescope doesn't expose the wayland socket ... mb I'll make a PR later

Twig6943 commented 1 hour ago

Pull request related to this issue https://github.com/flathub/com.heroicgameslauncher.hgl/pull/171

Twig6943 commented 1 hour ago

(Will close once its merged)