[Wayland-bugs] [Bug 762468] wayland: Switching between fullscreen and unfullscreen too fast may result in a fullscreen->unfullscreen feedback loop

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 10 16:39:08 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=762468

Alexander Larsson <alexl at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #31 from Alexander Larsson <alexl at redhat.com> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160310/44529943/attachment-0001.html>


More information about the wayland-bugs mailing list