Merge pull request #118 from Smithay/fix/shell_leak

wayland.shell: Fix a leak of surfaces
This commit is contained in:
Victor Brekenfeld 2018-11-29 14:40:13 +01:00 committed by GitHub
commit 96a57fcc5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 5 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

View File

@ -4,7 +4,7 @@ containers:
base: base:
auto-clean: true auto-clean: true
setup: setup:
- !UbuntuRelease { codename: artful } - !UbuntuRelease { codename: cosmic }
- !UbuntuUniverse - !UbuntuUniverse
- !Install [build-essential, wget, curl, pkg-config, file, openssl, sudo, ca-certificates, libssl-dev, cmake, libudev-dev, libgbm-dev, libxkbcommon-dev, libegl1-mesa-dev, libwayland-dev, libinput-dev, libsystemd-dev, libdbus-1-dev] - !Install [build-essential, wget, curl, pkg-config, file, openssl, sudo, ca-certificates, libssl-dev, cmake, libudev-dev, libgbm-dev, libxkbcommon-dev, libegl1-mesa-dev, libwayland-dev, libinput-dev, libsystemd-dev, libdbus-1-dev]