ensure state is reapplied by other components
ev = calloc(1, sizeof(Ecore_Event_Mouse_Move));
if (!ev) return;
+ edev->seat->pending_motion = 0;
x = ptr->seat->pointer.x;
y = ptr->seat->pointer.y;
ptr->timestamp = libinput_event_pointer_get_time(event);
if (state) _pointer_click_update(ptr, btn);
+ if (edev->seat->pending_motion) _pointer_motion_send(edev);
_pointer_button_send(edev, state);
void
_elput_input_disable(Elput_Manager *manager)
{
+ Elput_Seat *seat;
+ Eina_List *l;
+
+ EINA_LIST_FOREACH(manager->input.seats, l, seat)
+ seat->pending_motion = 1;
libinput_suspend(manager->input.lib);
_process_events(&manager->input);
manager->input.suspended = EINA_TRUE;
Eina_List *devices;
Elput_Manager *manager;
+ Eina_Bool pending_motion : 1;
};
struct _Elput_Device