forked from enlightenment/enlightenment
append new keyboard resources for wayland focused-client to the focused list
fixes all cases where applications would fail to receive focus initially and then be permanently broken
This commit is contained in:
parent
a832bb8ded
commit
28b022d033
|
@ -194,6 +194,9 @@ _e_comp_wl_input_cb_keyboard_get(struct wl_client *client, struct wl_resource *r
|
||||||
focused = e_client_focused_get();
|
focused = e_client_focused_get();
|
||||||
if (!focused) return;
|
if (!focused) return;
|
||||||
|
|
||||||
|
if (client != wl_resource_get_client(focused->comp_data->surface)) return;
|
||||||
|
e_comp_wl->kbd.focused = eina_list_append(e_comp_wl->kbd.focused, res);
|
||||||
|
|
||||||
e_comp_wl_input_keyboard_enter_send(focused);
|
e_comp_wl_input_keyboard_enter_send(focused);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue