Jonas Ådahl d340c3a6dd wayland: Don't unset surface->buffer when wl_buffer destroyed
Don't unset the surface->buffer if the associated wl_buffer object is
destroyed. The MetaWaylandBuffer doesn't really only represent a
wl_buffer object, but also the data (texture) created from the given
wl_buffer. Thus, for example destroying a released SHM wl_buffer should
not destroy the MetaWaylandBuffer instance, because the texture may
still be used.

This commit also fixes a race where calc_showing would hide a window
because, at the time of calculation whether it should be showing, the
surface's buffer had been destroyed as described above.

https://bugzilla.gnome.org/show_bug.cgi?id=762716
2016-03-01 13:33:13 +08:00
2015-11-09 10:25:40 -05:00
2015-07-06 00:52:18 -07:00
2016-02-28 19:17:12 +01:00
2015-07-06 00:52:18 -07:00
2016-02-19 18:02:23 +01:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%