From 19a9f4ed2942a03d5c0f6b8b1c2970670bfecf51 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Thu, 6 Jul 2017 11:35:27 -0500 Subject: [PATCH] also apply xdg-shell v6 client del hooks to external clients partially reverts 7e05eff3e3095ca305dd03e5f7f88b529ab70f1f 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. --- src/modules/wl_desktop_shell/xdg6.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/wl_desktop_shell/xdg6.c b/src/modules/wl_desktop_shell/xdg6.c index b341fd02f..c51405540 100644 --- a/src/modules/wl_desktop_shell/xdg6.c +++ b/src/modules/wl_desktop_shell/xdg6.c @@ -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