derekf pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=563dba9d60f55ca811d082b32a1617f14dd055c3

commit 563dba9d60f55ca811d082b32a1617f14dd055c3
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Mon Feb 12 11:27:11 2018 -0600

    ecore_wl2: Send window hide in response to xdg popup done
    
    Clients should be sent this event when the compositor sends popup done.
---
 src/lib/ecore_wl2/ecore_wl2_window.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index 6d39250015..49955c7820 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -5,6 +5,8 @@
 #include "ecore_wl2_private.h"
 #include "efl-hints-client-protocol.h"
 
+static void _ecore_wl2_window_hide_send(Ecore_Wl2_Window *window);
+
 void
 _ecore_wl2_window_semi_free(Ecore_Wl2_Window *window)
 {
@@ -285,6 +287,8 @@ _xdg_popup_cb_done(void *data, struct xdg_popup *xdg_popup 
EINA_UNUSED)
    if (!win) return;
 
    if (win->grab) _ecore_wl2_input_ungrab(win->grab);
+
+   _ecore_wl2_window_hide_send(win);
 }
 
 static const struct xdg_popup_listener _xdg_popup_listener =

-- 


Reply via email to