forked from enlightenment/efl
ecore_evas_wayland: Fix array step size
Fix bug where eina_array step size was being increased by 10 everytime a handler was pushed to the array. There is no need to increase array size by 10 each time we add 1 pointer to handler. @fix
This commit is contained in:
parent
f7fdb9c7f6
commit
68b107ff59
|
@ -1325,7 +1325,7 @@ _ecore_evas_wl_common_init(void)
|
||||||
if (++_ecore_evas_wl_init_count != 1)
|
if (++_ecore_evas_wl_init_count != 1)
|
||||||
return _ecore_evas_wl_init_count;
|
return _ecore_evas_wl_init_count;
|
||||||
|
|
||||||
_ecore_evas_wl_event_hdls = eina_array_new(10);
|
_ecore_evas_wl_event_hdls = eina_array_new(1);
|
||||||
|
|
||||||
h = ecore_event_handler_add(ECORE_EVENT_MOUSE_IN,
|
h = ecore_event_handler_add(ECORE_EVENT_MOUSE_IN,
|
||||||
_ecore_evas_wl_common_cb_mouse_in, NULL);
|
_ecore_evas_wl_common_cb_mouse_in, NULL);
|
||||||
|
|
Loading…
Reference in New Issue