efl-wl: check for existing keyboard enter before sending leave

ref 4a32e2456e
This commit is contained in:
Mike Blumenkrantz 2018-02-14 15:05:55 -05:00
parent b84206c4b6
commit 285c0bbfdc
1 changed files with 1 additions and 1 deletions

View File

@ -1109,7 +1109,7 @@ comp_seats_redo_enter(Comp *c, Comp_Surface *cs)
struct wl_resource *res;
Eina_Bool same = s->kbd.enter == cs;
if (c->active_surface && (!same))
if (c->active_surface && s->kbd.enter && (!same))
{
l = seat_kbd_active_resources_get(s);
EINA_LIST_FOREACH(l, ll, res)