forked from enlightenment/enlightenment
Add function to clear and reload keyboard modifiers
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
This commit is contained in:
parent
b49e918be9
commit
7733e873fd
|
@ -643,3 +643,14 @@ e_comp_wl_input_touch_check(struct wl_resource *res)
|
|||
return wl_resource_instance_of(res, &wl_touch_interface,
|
||||
&_e_touch_interface);
|
||||
}
|
||||
|
||||
EINTERN void
|
||||
e_comp_wl_input_keyboard_modifers_clear(void)
|
||||
{
|
||||
e_comp_wl->kbd.mod_depressed = 0;
|
||||
e_comp_wl->kbd.mod_latched = 0;
|
||||
e_comp_wl->kbd.mod_locked = 0;
|
||||
e_comp_wl->kbd.mod_group = 0;
|
||||
|
||||
e_comp_wl_input_keyboard_modifiers_serialize();
|
||||
}
|
||||
|
|
|
@ -23,6 +23,8 @@ EINTERN void e_comp_wl_input_keyboard_modifiers_update(void);
|
|||
EINTERN void e_comp_wl_input_keyboard_state_update(uint32_t keycode, Eina_Bool pressed);
|
||||
EINTERN void e_comp_wl_input_keyboard_enter_send(E_Client *client);
|
||||
|
||||
EINTERN void e_comp_wl_input_keyboard_modifers_clear(void);
|
||||
|
||||
E_API void e_comp_wl_input_pointer_enabled_set(Eina_Bool enabled);
|
||||
E_API void e_comp_wl_input_keyboard_enabled_set(Eina_Bool enabled);
|
||||
E_API void e_comp_wl_input_touch_enabled_set(Eina_Bool enabled);
|
||||
|
|
Loading…
Reference in New Issue