Diffusion KWin df9e36ee68a1

[wayland] Destroy XdgToplevelClient and XdgPopupClient on unmap

Authored by zzag on May 7 2020, 2:29 PM.

Description

[wayland] Destroy XdgToplevelClient and XdgPopupClient on unmap

There are several ways to handle unmapping of a wl_surface. The first
one is to destroy the associated AbstractClient instance. The second one
is to transition the AbstractClient in a special state.

The problem with the second approach is that it makes animations such as
fade out more difficult to handle since effects in kwin are geared more
towards the first approach (destroying AbstractClient).

Details

Committed
zzagJun 1 2020, 12:13 PM
Parents
R108:31ea780d7996: [wayland] Rework xdg-shell implementation
Branches
Unknown
Tags
Unknown