also apply xdg-shell v6 client del hooks to external clients

partially reverts 7e05eff3e3

This was causing problems when destroying some xdg v6 clients.

if weston-simple-shm was killed while not on the current desktop
it would remain on deskmirrors.
This commit is contained in:
Derek Foreman 2017-07-06 11:35:27 -05:00
parent d2d3d9976b
commit 19a9f4ed29
1 changed files with 1 additions and 2 deletions

View File

@ -1447,8 +1447,7 @@ _e_xdg_shell_cb_bind(struct wl_client *client, void *data EINA_UNUSED, uint32_t
static void
_xdg6_client_hook_del(void *d EINA_UNUSED, E_Client *ec)
{
if (ec->internal)
_xdg6_client_destroy(ec, 1);
_xdg6_client_destroy(ec, 1);
}
EINTERN Eina_Bool