<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wayland: not fullscreenable gtk+ apps can be fullscreened"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=764413#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wayland: not fullscreenable gtk+ apps can be fullscreened"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=764413">bug 764413</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=326475" name="attach_326475" title="Test program">attachment 326475</a> <a href="attachment.cgi?id=326475&action=edit" title="Test program">[details]</a></span>
Test program

This simple reproducer is to demonstrate the need for <span class=""><a href="attachment.cgi?id=325360&action=diff" name="attach_325360" title="[PATCH] wayland: obey configure event if maximized/fullscreen">attachment 325360</a> <a href="attachment.cgi?id=325360&action=edit" title="[PATCH] wayland: obey configure event if maximized/fullscreen">[details]</a></span> <a href='review?bug=764413&attachment=325360'>[review]</a>
independently of the min/max addition to xdg-shell v6.

Even on X11, mutter will maximize windows that have a max size and a min size
set.

Basically, on X11, what mutter does is to check if the window is resizeable or
not. If the window is resizeable, it can be maximized or fullscreened, even if
the specified max size is actually smaller than the available workarea.

mutter reckons a window is not resizeable if min == max. If min < max, it can
be maximized for mutter (other window managers might behave differently, but
that's not the point here).

 1. Save and build the attached program
 2. Start a GNOME on X11 session
 3. Run the reproducer in X11

Notice that the window cannot be resized manually to the full size of the
monitor, yet moving it toward the top edge of the monitor and mutter will
happily maximize the window.

Assuming this is the expected and desired behaviour, we need <span class=""><a href="attachment.cgi?id=325360&action=diff" name="attach_325360" title="[PATCH] wayland: obey configure event if maximized/fullscreen">attachment 325360</a> <a href="attachment.cgi?id=325360&action=edit" title="[PATCH] wayland: obey configure event if maximized/fullscreen">[details]</a></span> <a href='review?bug=764413&attachment=325360'>[review]</a>
in gtk+ to have the same in Wayland, even with the min/max size hint added to
xdg-shell (which have now been pushed in xdg-shell v6 btw).</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>