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

--- Comment #8 from Olivier Fourdan <[email protected]> ---
Created attachment 338945
  --> https://bugzilla.gnome.org/attachment.cgi?id=338945&action=edit
[PATCH] wayland: check valid pending cairo surface

drop_cairo_surfaces() will nullify the drop_cairo_surfaces() (to avoid
reusing the buffer later), but gdk_window_impl_wayland_end_paint()
doesn't check if the drop_cairo_surfaces is still valid prior to calling
gdk_wayland_window_attach_image().

As gdk_wayland_window_attach_image() assumes there is a valid pending
cairo surface, make sure the staging cairo surface is stil lvalid prior
to attaching the image, just like it's done in gdk_wayland_window_show()
as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to