wayland.shell: Fix a leak of surfaces

This commit is contained in:
Victor Berger 2018-11-28 23:34:30 +01:00
parent 6d83dff0ee
commit 5c8e362a9e
2 changed files with 0 additions and 4 deletions

View File

@ -533,7 +533,6 @@ where
// the wl_surface is destroyed, this means the client is not // the wl_surface is destroyed, this means the client is not
// trying to change the role but it's a cleanup (possibly a // trying to change the role but it's a cleanup (possibly a
// disconnecting client), ignore the protocol check. // disconnecting client), ignore the protocol check.
return;
} else { } else {
data.shell_data data.shell_data
.compositor_token .compositor_token
@ -622,7 +621,6 @@ where
// the wl_surface is destroyed, this means the client is not // the wl_surface is destroyed, this means the client is not
// trying to change the role but it's a cleanup (possibly a // trying to change the role but it's a cleanup (possibly a
// disconnecting client), ignore the protocol check. // disconnecting client), ignore the protocol check.
return;
} else { } else {
data.shell_data data.shell_data
.compositor_token .compositor_token

View File

@ -547,7 +547,6 @@ where
// the wl_surface is destroyed, this means the client is not // the wl_surface is destroyed, this means the client is not
// trying to change the role but it's a cleanup (possibly a // trying to change the role but it's a cleanup (possibly a
// disconnecting client), ignore the protocol check. // disconnecting client), ignore the protocol check.
return;
} else { } else {
data.shell_data data.shell_data
.compositor_token .compositor_token
@ -639,7 +638,6 @@ where
// the wl_surface is destroyed, this means the client is not // the wl_surface is destroyed, this means the client is not
// trying to change the role but it's a cleanup (possibly a // trying to change the role but it's a cleanup (possibly a
// disconnecting client), ignore the protocol check. // disconnecting client), ignore the protocol check.
return;
} else { } else {
data.shell_data data.shell_data
.compositor_token .compositor_token