this is done in order to make ecore_event_evas_key_down work with this.
The function can be used to simulate interactions with a efl_ui_win. If
this is not added, then the user of ecore_event_evas_key_down needs to
differentiate between buffer engines and the rest of the engines.
Differential Revision: https://phab.enlightenment.org/D7361
#include <Ecore.h>
#include "ecore_private.h"
#include <Ecore_Input.h>
+#include <Ecore_Input_Evas.h>
#include "Ecore_Evas.h"
#include "ecore_evas_buffer.h"
}
free(bdata);
+
+ ecore_event_evas_shutdown();
}
static void
EAPI Ecore_Evas *
ecore_evas_buffer_new(int w, int h)
{
- return ecore_evas_buffer_allocfunc_new
+ Ecore_Evas *ee;
+
+ ecore_event_evas_init();
+
+ ee = ecore_evas_buffer_allocfunc_new
(w, h, _ecore_evas_buffer_pix_alloc, _ecore_evas_buffer_pix_free, NULL);
+
+ ecore_evas_done(ee, EINA_TRUE);
+
+ return ee;
}
EAPI const void *