https://bugs.freedesktop.org/show_bug.cgi?id=89702

            Bug ID: 89702
           Summary: Centered shell surfaces
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: wayland
          Assignee: [email protected]
          Reporter: [email protected]

I am trying to implement a splash screen which needs to start centered both
vertically and horizontally when not fullscreen or maximized. Currently I am
using wl_shell_surface but there is no way to advise this to the compositor.

I have looked at xdg-shell.xml and there is set_window_geometry with an x and y
co-ordinates but I assume they only work if the surface has a parent?

If they do work without a parent what are they relative to? If the dimensions
of whatever the splash surface is relative to change then it would no longer be
centered.

This would need an interface similar to the CSS "margin" where the surface
could be set to "auto" would always be centered (until the user moved it).
After the user moves the surface it should not be able to re-center itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to