diff options
author | Ilia Bozhinov <ammen99@gmail.com> | 2018-06-16 17:29:26 +0300 |
---|---|---|
committer | Ilia Bozhinov <ammen99@gmail.com> | 2018-06-16 17:29:53 +0300 |
commit | 23707f65040546d4594e458ab5068c0bccc31bd0 (patch) | |
tree | bd100206fd366e19bca3519cfdad9b92801a87f0 /include/wlr/backend/headless.h | |
parent | 8e33deb0beb033dd1ddff86d6a071b1a5faa8fdb (diff) |
layer-shell: check whether the surface is mapped in layer_surface_destroy()
If the layer surface has been closed by the compositor, using
layer_surface_close(), then the unmap event is emitted. However, when
the layer surface is later destroyed by the client, the compositor used
to get a second unmap, which is fixed with this commit.
Diffstat (limited to 'include/wlr/backend/headless.h')
0 files changed, 0 insertions, 0 deletions