Remove mouse_move_send function
NB: This is really only needed (for now) in the X11 compositor Signed-off-by: Chris Michael <devilhorns@comcast.net>
This commit is contained in:
parent
448af16831
commit
248bbf22b5
|
@ -113,25 +113,6 @@ e_input_touch_init(E_Input *seat)
|
||||||
return EINA_TRUE;
|
return EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
|
||||||
e_input_mouse_move_send(E_Input *input, Ecore_Event_Mouse_Move *ev)
|
|
||||||
{
|
|
||||||
E_Input_Pointer *ptr;
|
|
||||||
|
|
||||||
if (!(ptr = input->pointer)) return;
|
|
||||||
|
|
||||||
ptr->x = ev->x;
|
|
||||||
ptr->y = ev->y;
|
|
||||||
|
|
||||||
if ((ptr->grab) && (ptr->grab->interface))
|
|
||||||
{
|
|
||||||
if (ptr->grab->interface->focus)
|
|
||||||
ptr->grab->interface->focus(ptr->grab);
|
|
||||||
if (ptr->grab->interface->motion)
|
|
||||||
ptr->grab->interface->motion(ptr->grab, ev->timestamp);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
e_input_pointer_focus_set(E_Input_Pointer *pointer, E_Surface *surface, Evas_Coord x, Evas_Coord y)
|
e_input_pointer_focus_set(E_Input_Pointer *pointer, E_Surface *surface, Evas_Coord x, Evas_Coord y)
|
||||||
{
|
{
|
||||||
|
|
|
@ -77,7 +77,5 @@ EAPI Eina_Bool e_input_touch_init(E_Input *seat);
|
||||||
|
|
||||||
EAPI void e_input_pointer_focus_set(E_Input_Pointer *pointer, E_Surface *surface, Evas_Coord x, Evas_Coord y);
|
EAPI void e_input_pointer_focus_set(E_Input_Pointer *pointer, E_Surface *surface, Evas_Coord x, Evas_Coord y);
|
||||||
|
|
||||||
EAPI void e_input_mouse_move_send(E_Input *input, Ecore_Event_Mouse_Move *ev);
|
|
||||||
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue