From 248bbf22b569e34b813984c275d6d5e4cce30ae0 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 13 Jun 2013 17:03:42 +0100 Subject: [PATCH] Remove mouse_move_send function NB: This is really only needed (for now) in the X11 compositor Signed-off-by: Chris Michael --- src/bin/e_wayland/e_input.c | 19 ------------------- src/bin/e_wayland/e_input.h | 2 -- 2 files changed, 21 deletions(-) diff --git a/src/bin/e_wayland/e_input.c b/src/bin/e_wayland/e_input.c index bd4d47674..e8c8af843 100644 --- a/src/bin/e_wayland/e_input.c +++ b/src/bin/e_wayland/e_input.c @@ -113,25 +113,6 @@ e_input_touch_init(E_Input *seat) 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 e_input_pointer_focus_set(E_Input_Pointer *pointer, E_Surface *surface, Evas_Coord x, Evas_Coord y) { diff --git a/src/bin/e_wayland/e_input.h b/src/bin/e_wayland/e_input.h index e43cf3a68..8f725c7fa 100644 --- a/src/bin/e_wayland/e_input.h +++ b/src/bin/e_wayland/e_input.h @@ -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_mouse_move_send(E_Input *input, Ecore_Event_Mouse_Move *ev); - # endif #endif