diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2016-02-26 17:47:21 +0800 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2016-03-01 13:33:13 +0800 |
commit | d340c3a6dde4b1bec0cda47d30a6b9db62bd5e4e (patch) | |
tree | f71e908693c6f88ff46c0a63eb9a29d3bdf65957 /po/sk.po | |
parent | 43bd057754d9c1849135f8dd74e21007b2585ca5 (diff) | |
download | mutter-d340c3a6dde4b1bec0cda47d30a6b9db62bd5e4e.tar.gz |
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
Diffstat (limited to 'po/sk.po')
0 files changed, 0 insertions, 0 deletions