<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Centered shell surfaces"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89702">89702</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Centered shell surfaces
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>wayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>x414e54@linux.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>