Navigation Menu

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

Parent Surfaces for SDL GUI #1802

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

Parent Surfaces for SDL GUI #1802

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.3
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2015-03-22 06:58:35 +0000, wrote:

There needs to be a way to specify that a window is related in some way to another window. This parent window would ideally not show up in taskbars on desktop systems and would be ontop of the parent but does not necessarily have to be guaranteed to be modal.

SDL-gui-backend for UE4 is currently using a newly added SDL_SetWindowModalFor which uses the x11 transient and I have test implemented using wl_shell_surface_set_transient on Wayland.

But I am hoping this could be up-streamed quickly in a cross-platform way.

On systems which do not support parent/child windows they could be handed a subsurface or the window is just placed globally as normal on the same display.

On system which only support fullscreen "windows" then just creates a new normal window with possibly some overlay or platform specific options/keybind to switch between the parent and child windows.

The api should have options to either guarantee where the window will be placed relative to the parent or what happens if it cannot be places outside or if it will.

On 2017-08-13 05:08:27 +0000, Ryan C. Gordon wrote:

Sorry, I didn't realize this bug report existed (let alone that it was still open)...this was fixed about a month after this report was opened by https://hg.libsdl.org/SDL/rev/f7ab0613164a, which was part of the effort to merge some of the UE4 additions back into SDL.

--ryan.

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