From ac8a9fc2f0c5fcd0280ebdac4c49ba69d1ed3b35 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 7 Jul 2017 16:26:32 -0400 Subject: [PATCH] don't set E_Client->want_focus for wl overrides with parents all input for these goes to the xwl resource anyway, let parent get focus ref 69c85fc1aa013cfe65e1b87c07a001b3d5d5625c --- src/bin/e_comp_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index de1990095..613f4a83d 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -1358,7 +1358,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, E_Comp_Wl_Surface_State *state) if (first && (!ec->comp_data->cursor)) { ec->take_focus = !starting || ec->internal_elm_win; - ec->want_focus = ec->override && !e_client_util_is_popup(ec); + ec->want_focus = ec->override && !e_client_util_is_popup(ec) && !ec->parent; } }