discomfitor pushed a commit to branch enlightenment-0.21. http://git.enlightenment.org/core/enlightenment.git/commit/?id=e2eec45e3b14e21ebb21d89454a7d30a562c82be
commit e2eec45e3b14e21ebb21d89454a7d30a562c82be Author: Derek Foreman <der...@osg.samsung.com> Date: Wed Nov 30 14:40:11 2016 -0600 Fix keyboard tracking when leaving an xdg shell window _parent_client_contains_pointer() shouldn't return true if there is no parent client. This could result in leaving stale resources in the keyboard focus list and crash the compositor. --- src/bin/e_comp_wl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 5fc3549..9ece9e3 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -52,6 +52,8 @@ _parent_client_contains_pointer(E_Client *ec) while (top->parent) top = top->parent; + if (top == ec) return EINA_FALSE; + if (top->mouse.in) return EINA_TRUE; EINA_LIST_FOREACH(top->comp_data->sub.list, l, c) --