<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Wayland] Drop-down menus are broken in position and size on HiDPI screens"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=771841#c16">Comment # 16</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Wayland] Drop-down menus are broken in position and size on HiDPI screens"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=771841">bug 771841</a>
              from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=sjoerd%40luon.net" title="Sjoerd Simons <sjoerd@luon.net>"> <span class="fn">Sjoerd Simons</span></a>
</span></b>
        <pre>Review of <span class=""><a href="attachment.cgi?id=336172&action=diff" name="attach_336172" title="wayland/xdg-popup: Force monitor of the top-level">attachment 336172</a> <a href="attachment.cgi?id=336172&action=edit" title="wayland/xdg-popup: Force monitor of the top-level">[details]</a></span> <a href='review?bug=771841&attachment=336172'>[review]</a>:

The initial case block doesn't actually happen as _meta_window_shared_new will
set the initial monitor via meta_screen_calculate_monitor_for_window, which
means from is never NULL. So the first round through this function actually has
from != to. The problem this patch avoids is not syncing the popup monitor to
the top-level monitor as the scaled_new monitor doesn't match the top-level
monitor.</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>