<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body><span class="vcard"><a href="page.cgi?id=describeuser.html&login=alexl%40redhat.com" title="Alexander Larsson <alexl@redhat.com>"> <span class="fn">Alexander Larsson</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - wayland: Switching between fullscreen and unfullscreen too fast may result in a fullscreen->unfullscreen feedback loop"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=762468">bug 762468</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>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - wayland: Switching between fullscreen and unfullscreen too fast may result in a fullscreen->unfullscreen feedback loop"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=762468#c31">Comment # 31</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - wayland: Switching between fullscreen and unfullscreen too fast may result in a fullscreen->unfullscreen feedback loop"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=762468">bug 762468</a>
              from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=alexl%40redhat.com" title="Alexander Larsson <alexl@redhat.com>"> <span class="fn">Alexander Larsson</span></a>
</span></b>
        <pre>You need something like: (untested)

a/gdk/gdkevents.c b/gdk/gdkevents.c
index a094d4a..e14f9ab 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -2201,6 +2201,7 @@ _gdk_set_window_state (GdkWindow      *window,
     {
       old = window->old_state;
       _gdk_event_queue_remove_link (display, pending_event_link);
+      gdk_event_free ((GdkEvent *)pending_event_link->data);
       g_list_free_1 (pending_event_link);
     }
   else</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>