<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:krh@bitplanet.net" title="Kristian Høgsberg <krh@bitplanet.net>"> <span class="fn">Kristian Høgsberg</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - crash going from fullscreen to maximized in weston-stacking"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76867">bug 76867</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;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - crash going from fullscreen to maximized in weston-stacking"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76867#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - crash going from fullscreen to maximized in weston-stacking"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76867">bug 76867</a>
              from <span class="vcard"><a class="email" href="mailto:krh@bitplanet.net" title="Kristian Høgsberg <krh@bitplanet.net>"> <span class="fn">Kristian Høgsberg</span></a>
</span></b>
        <pre>Fixed in:

commit 641796c31ac5bebf42a630557de734aad01445c9
Author: Ander Conselvan de Oliveira <<a href="mailto:ander.conselvan.de.oliveira@intel.com">ander.conselvan.de.oliveira@intel.com</a>>
Date:   Thu Apr 10 16:36:57 2014 +0300

    shell: Keep shsurf->fullscreen_output set after unset_fullscreen()

    When a fullscreen surface gets the maximized state, the function
    reset_surface_type() is called and that causes unset_fullscreen() to be
    called. That function would set the value of shsurf->fullscreen_output
    to NULL. However, since the surface still has the fullscreen state, it
    will be configured as a fullscreen surface again, and an attempt to
    access that field would cause the compositor to crash.

    Fix the crash by keeping the value of fullscreen_output around after
    unset_fullscreen(). This is safe since the value is only used when a
    surface has the fullscreen state and is replaced on a new request to
    make the surface fullscreen.

    <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - crash going from fullscreen to maximized in weston-stacking"
   href="show_bug.cgi?id=76867">https://bugs.freedesktop.org/show_bug.cgi?id=76867</a></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>