Skip to content
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

Missing window decorations on Flatpak + Wayland #3

Open
hugomg opened this issue Apr 17, 2022 · 1 comment
Open

Missing window decorations on Flatpak + Wayland #3

hugomg opened this issue Apr 17, 2022 · 1 comment

Comments

@hugomg
Copy link
Owner

hugomg commented Apr 17, 2022

If we package xjump using Flatpak + Wayland, then it has no window decoration. That is, there is no window title or close button. If I understand correctly, the issue is that with Wayland the application is responsible for drawing its own window. In our case, we depend on SDL doing that for us. Recent versions of SDL should be able to do that, but I am not sure if those versions are already present in the Freedesktop flatpak runtime.

The current workaround is to use --socket=x11 but that is unsatisfying because the whole point of xjump-sdl is moving to a future free from the tyranny of X. We should try again when the next release of freedesktop.Platform, using the following permissions in the manifest:

--socket=fallback-x11
--socket=wayland
@hugomg
Copy link
Owner Author

hugomg commented Jan 27, 2023

22.08 still doesn't do it. I think we should wait until 23.08 and then investigate if it's still broken at that point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant