[Wayland-bugs] [Bug 725172] GdkWindow: fix redraws for backends that keep the same backing cairo surface
gtk+ (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Feb 25 13:04:20 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=725172
gtk+ | Backend: Wayland | unspecified
--- Comment #2 from Giovanni Campagna <scampa.giovanni at gmail.com> 2014-02-25 21:25:37 UTC ---
Created an attachment (id=270327)
View: https://bugzilla.gnome.org/attachment.cgi?id=270327
Review: https://bugzilla.gnome.org/review?bug=725172&attachment=270327
GdkWindow: fix redraws for backends that keep the same backing cairo surface
If gdk_window_create_cairo_surface() returns a surface that was
already used in the past as cairo surface (as it happens for
toplevel gdkwayland windows, whose cairo surface is the shm
image), setting a user data calls the destructor for the existing
user data, which clears window->cairo_surface, effectively nullifying
the effect of ref_cairo_surface(), which then returns NULL.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Wayland-bugs
mailing list