Skip to content

wayland: Don't paint if the window is unmapped

Olivier Fourdan requested to merge ofourdan/gtk:gtk-3-22-bz773274 into gtk-3-22

If a window is unmapped by the client while gdk is processing updates, (for example Firefox unmapping its window on Expose events), the windowing backend resources might be lost (for example with Wayland) which can cause a crash in end_paint().

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

Merge request reports