forked from enlightenment/enlightenment
e-comp-wl: Update keyboard key state regardless of client focus or not
Key state updates need to be consistent. As we update the key state on key up regardless of client focus, then we should be doing the same in the key_down event handler so that key state remains consistent. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
5052bd9266
commit
74e96f3826
|
@ -879,11 +879,11 @@ _e_comp_wl_cb_key_down(void *event)
|
|||
}
|
||||
*k = keycode;
|
||||
|
||||
/* update modifier state */
|
||||
e_comp_wl_input_keyboard_state_update(keycode, EINA_TRUE);
|
||||
|
||||
if ((ec = e_client_focused_get()))
|
||||
{
|
||||
/* update modifier state */
|
||||
e_comp_wl_input_keyboard_state_update(keycode, EINA_TRUE);
|
||||
|
||||
if (ec->comp_data->surface && (!e_client_action_get()) && (!e_comp->input_key_grabs))
|
||||
{
|
||||
struct wl_client *wc;
|
||||
|
|
Loading…
Reference in New Issue