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

Render a splash screen before game loads. #1514

Open
bluelightzero opened this issue Sep 8, 2024 · 0 comments
Open

Render a splash screen before game loads. #1514

bluelightzero opened this issue Sep 8, 2024 · 0 comments

Comments

@bluelightzero
Copy link

Some games may take time to load before they show a window. (Rounds on Steam is a awfully good example)

Screencast_20240908_143515.webm

It would be really useful if Gamescope made sure there was a window as soon as possible so that the game will not end up stealing focus later on.

I believe Gamescope already does this, but I think because Wayland compositors such as KDE will not show the window until the first frame has been buffered, it will eventually steal focus at an annoying time.

I believe the fix is to simply render something to the window buffer so it can be manipulated and it won't steal focus when the game loads.

It could just render a solid colour, but it could also include something useful such as the executable name.

I would bet there are plenty of other games that would benefit from something similar. Even a few seconds of waiting for the load can be annoying.

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