<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [wayland] dropdown placed somewhere in the screen"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=776225#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [wayland] dropdown placed somewhere in the screen"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=776225">bug 776225</a>
              from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=342930&action=diff" name="attach_342930" title="[PATCH gtk-3-22] wayland: translate subsurfaces coordinates">attachment 342930</a> <a href="attachment.cgi?id=342930&action=edit" title="[PATCH gtk-3-22] wayland: translate subsurfaces coordinates">[details]</a></span> <a href='review?bug=776225&attachment=342930'>[review]</a>
[PATCH gtk-3-22] wayland: translate subsurfaces coordinates

When mapping a popup window from a popover, which under Wayland is
translated as a subsurface with the root window as parent, the menu
appears misplaced, located according to the toplevel  location instead
of the subsurface location.

When the parent of a popup window is a subsurface, translate the
coordinates back to the toplevel coordinates so that move_to_rect()
correctly locates the popup in the subsurface.

--

Note, it's *meh* but it appears to do the job... i.e., I'm not proud of this
patch but failed to find a better solution without a lot of potential impact
elsewhere...</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>