mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
server: the terminal now purges SHM pixmaps on its own
This commit is contained in:
parent
d22ba73c41
commit
8290cebc09
1 changed files with 0 additions and 7 deletions
7
server.c
7
server.c
|
|
@ -132,13 +132,6 @@ term_shutdown_handler(void *data, int exit_code)
|
|||
{
|
||||
struct terminal_instance *instance = data;
|
||||
|
||||
struct wl_shm *shm = instance->server->wayl->shm;
|
||||
|
||||
shm_purge(shm, shm_cookie_grid(instance->terminal));
|
||||
shm_purge(shm, shm_cookie_search(instance->terminal));
|
||||
for (enum csd_surface surf = 0; surf < CSD_SURF_COUNT; surf++)
|
||||
shm_purge(shm, shm_cookie_csd(instance->terminal, surf));
|
||||
|
||||
instance->terminal = NULL;
|
||||
instance_destroy(instance, exit_code);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue