<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - wl_shell maps a surface even without set_toplevel"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77527">77527</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>wl_shell maps a surface even without set_toplevel
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ppaalanen@gmail.com
          </td>
        </tr>

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

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

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

        <tr>
          <th>Component</th>
          <td>weston
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>With current Weston master (304996d182874ded26adce40ce1c29210fc5352b), Weston's
desktop-shell will map a surface, which has a wl_shell_surface, but has not
issued set_toplevel.

This can be easily tested by commenting out line clients/simple-touch.c:314,
the one calling wl_shell_surface_set_toplevel(touch->shell_surface);, and
running simple-touch. On the very next repaint, the window appears on screen,
but does not participate in window management like Win+tab switching or
activation.

With the above modification, the simple-touch surface should not be mapped at
all.

Thanks to <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - cannot create opengl by dynamically loading wayland symbols from library"
   href="show_bug.cgi?id=77521">bug #77521</a> for making me try this.</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>