<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Restoring maximized window state in Wayland results in tiny window"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=783901">bug 783901</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>jadahl@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Restoring maximized window state in Wayland results in tiny window"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=783901#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Restoring maximized window state in Wayland results in tiny window"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=783901">bug 783901</a>
              from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
        <pre>(In reply to Olivier Fourdan from <a href="show_bug.cgi?id=783901#c13">comment #13</a>)
<span class="quote">> Well, the reason is pretty obvious, calling meta_window_force_placement()
> from xdg_toplevel_set_maximized() will set "window->placed" to TRUE prior to
> call meta_window_maximize() and thus we shall not return early:

> <a href="https://git.gnome.org/browse/mutter/tree/src/core/window.c#n2729">https://git.gnome.org/browse/mutter/tree/src/core/window.c#n2729</a>

> As a result, the "old" geometry is saved with a zero size...

> But reverting  commit <a href="https://git.gnome.org/browse/mutter/commit/?id=7801df7">7801df7</a> will re-introduce <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - wayland: new window momentarily displays on wrong monitor"
   href="show_bug.cgi?id=782183">bug 782183</a> and <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - wayland: presenting maximized window is jittery"
   href="show_bug.cgi?id=781353">bug 781353</a> so
> we should fix those differently, so we ought to find a different fix.</span >

What size is sent on unmaximize? If it's anything other than 0x0, I think we
should change it so 0x0 is sent. We probably unmaximize to some calculated
"smart" fallback size, and that should probably be disabled on Wayland as the
client has a better idea of what to unmaximize to.</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>