derekf pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=19a9f4ed2942a03d5c0f6b8b1c2970670bfecf51

commit 19a9f4ed2942a03d5c0f6b8b1c2970670bfecf51
Author: Derek Foreman <[email protected]>
Date:   Thu Jul 6 11:35:27 2017 -0500

    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

-- 


Reply via email to