Diffusion KWin dc8c33e856be

Destroy ShellClient when the SurfaceInterface gets destroyed

Authored by graesslin on May 23 2016, 6:54 AM.

Description

Destroy ShellClient when the SurfaceInterface gets destroyed

KWayland was changed: the ShellSurfaceInterface does no longer get
destroyed when the parent SurfaceInterface gets destroyed. For the
wl_shell_surface there is no dtor request in the interface so the
resource sticks around and also the ShellClient is kept.

This change ensures that the ShellClient also gets destroyed when
the Surface is destroyed. This should fix some broken tests.

Cherry-picked from master to fix failing tests on build.kde.org.

Details

Committed
graesslinJun 2 2016, 5:53 AM
Parents
R108:c3cd8df7954f: Be sure isCurrentTab returns true
Branches
Unknown
Tags
Unknown