forked from enlightenment/efl
ecore-wl2: correct the name and type of some function params
This commit is contained in:
parent
4e64fb046e
commit
1f6746cedb
|
@ -306,7 +306,7 @@ _ecore_wl2_dnd_add(Ecore_Wl2_Input *input, struct wl_data_offer *offer)
|
|||
}
|
||||
|
||||
void
|
||||
_ecore_wl2_dnd_enter(Ecore_Wl2_Input *input, struct wl_data_offer *offer, struct wl_surface *surface, int x, int y, unsigned int timestamp)
|
||||
_ecore_wl2_dnd_enter(Ecore_Wl2_Input *input, struct wl_data_offer *offer, struct wl_surface *surface, int x, int y, uint32_t serial)
|
||||
{
|
||||
Ecore_Wl2_Window *window;
|
||||
Ecore_Wl2_Event_Dnd_Enter *ev;
|
||||
|
@ -341,7 +341,7 @@ _ecore_wl2_dnd_enter(Ecore_Wl2_Input *input, struct wl_data_offer *offer, struct
|
|||
ev->x = x;
|
||||
ev->y = y;
|
||||
ev->offer = offer;
|
||||
ev->serial = timestamp;
|
||||
ev->serial = serial;
|
||||
ev->num_types = num;
|
||||
ev->types = types;
|
||||
|
||||
|
@ -367,7 +367,7 @@ _ecore_wl2_dnd_leave(Ecore_Wl2_Input *input)
|
|||
}
|
||||
|
||||
void
|
||||
_ecore_wl2_dnd_motion(Ecore_Wl2_Input *input, int x, int y, unsigned int timestamp)
|
||||
_ecore_wl2_dnd_motion(Ecore_Wl2_Input *input, int x, int y, uint32_t serial)
|
||||
{
|
||||
Ecore_Wl2_Event_Dnd_Motion *ev;
|
||||
|
||||
|
@ -386,7 +386,7 @@ _ecore_wl2_dnd_motion(Ecore_Wl2_Input *input, int x, int y, unsigned int timesta
|
|||
|
||||
ev->x = x;
|
||||
ev->y = y;
|
||||
ev->serial = timestamp;
|
||||
ev->serial = serial;
|
||||
|
||||
ecore_event_add(ECORE_WL2_EVENT_DND_MOTION, ev, NULL, NULL);
|
||||
}
|
||||
|
|
|
@ -1008,7 +1008,7 @@ _data_cb_offer(void *data, struct wl_data_device *data_device EINA_UNUSED, struc
|
|||
}
|
||||
|
||||
static void
|
||||
_data_cb_enter(void *data, struct wl_data_device *data_device EINA_UNUSED, unsigned int timestamp, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *offer)
|
||||
_data_cb_enter(void *data, struct wl_data_device *data_device EINA_UNUSED, uint32_t serial, struct wl_surface *surface, wl_fixed_t x, wl_fixed_t y, struct wl_data_offer *offer)
|
||||
{
|
||||
Ecore_Wl2_Input *input;
|
||||
|
||||
|
@ -1016,7 +1016,7 @@ _data_cb_enter(void *data, struct wl_data_device *data_device EINA_UNUSED, unsig
|
|||
if (!input) return;
|
||||
|
||||
_ecore_wl2_dnd_enter(input, offer, surface,
|
||||
wl_fixed_to_int(x), wl_fixed_to_int(y), timestamp);
|
||||
wl_fixed_to_int(x), wl_fixed_to_int(y), serial);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1031,7 +1031,7 @@ _data_cb_leave(void *data, struct wl_data_device *data_device EINA_UNUSED)
|
|||
}
|
||||
|
||||
static void
|
||||
_data_cb_motion(void *data, struct wl_data_device *data_device EINA_UNUSED, unsigned int timestamp, wl_fixed_t x, wl_fixed_t y)
|
||||
_data_cb_motion(void *data, struct wl_data_device *data_device EINA_UNUSED, uint32_t serial, wl_fixed_t x, wl_fixed_t y)
|
||||
{
|
||||
Ecore_Wl2_Input *input;
|
||||
|
||||
|
@ -1039,7 +1039,7 @@ _data_cb_motion(void *data, struct wl_data_device *data_device EINA_UNUSED, unsi
|
|||
if (!input) return;
|
||||
|
||||
_ecore_wl2_dnd_motion(input, wl_fixed_to_int(x),
|
||||
wl_fixed_to_int(y), timestamp);
|
||||
wl_fixed_to_int(y), serial);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -427,9 +427,9 @@ void _ecore_wl2_input_cursor_set(Ecore_Wl2_Input *input, const char *cursor);
|
|||
void _ecore_wl2_input_cursor_update_stop(Ecore_Wl2_Input *input);
|
||||
|
||||
void _ecore_wl2_dnd_add(Ecore_Wl2_Input *input, struct wl_data_offer *offer);
|
||||
void _ecore_wl2_dnd_enter(Ecore_Wl2_Input *input, struct wl_data_offer *offer, struct wl_surface *surface, int x, int y, unsigned int timestamp);
|
||||
void _ecore_wl2_dnd_enter(Ecore_Wl2_Input *input, struct wl_data_offer *offer, struct wl_surface *surface, int x, int y, uint32_t serial);
|
||||
void _ecore_wl2_dnd_leave(Ecore_Wl2_Input *input);
|
||||
void _ecore_wl2_dnd_motion(Ecore_Wl2_Input *input, int x, int y, unsigned int timestamp);
|
||||
void _ecore_wl2_dnd_motion(Ecore_Wl2_Input *input, int x, int y, uint32_t serial);
|
||||
void _ecore_wl2_dnd_drop(Ecore_Wl2_Input *input);
|
||||
void _ecore_wl2_dnd_selection(Ecore_Wl2_Input *input, struct wl_data_offer *offer);
|
||||
void _ecore_wl2_dnd_del(Ecore_Wl2_Dnd_Source *source);
|
||||
|
|
Loading…
Reference in New Issue