diff options
author | emersion <contact@emersion.fr> | 2018-03-26 18:35:36 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-26 18:35:45 -0400 |
commit | 5233801530c5ccc95699a12ba7da2d7ce58c952c (patch) | |
tree | 19e131937310614b5a1079b3d497046d9c7a24b2 /examples/screenshot.c | |
parent | 891610081fe1a8279fbe50d548bb6d42074aaae1 (diff) |
xdg-shell-v6: don't destroy role resources on unmap
The motivation for this is:
- `get_popup` and `get_toplevel` allocate role-specific resources.
- On the first non-null commit, the surface gets mapped.
- On a null commit, the surface gets unmapped. It can be mapped
again with a non-null commit.
- When the role object (xdg-toplevel or xdg-popup) is
destroyed, the surface is unmapped and role-specific resources
are destroyed. The client can call `get_popup` or `get_toplevel`
again on that surface.
- When the xdg-surface object is destroyed, the surface is
unmapped, role-specific resources are destroyed and the surface
itself is destroyed.
Diffstat (limited to 'examples/screenshot.c')
0 files changed, 0 insertions, 0 deletions