#include "e_comp_screen_intern.h"
#include "e_service_virtual_touch_intern.h"
#include "e_server_intern.h"
+#include "e_devicemgr_input_intern.h"
#include <Eio.h>
TSE("E_Devicemgr Init Done");
_e_main_shutdown_push(e_devicemgr_shutdown);
+ TSB("E_Devicemgr_Input Init");
+ if (!e_devicemgr_input_init())
+ {
+ e_error_message_show(_("Enlightenment cannot set up its device_manager_input system.\n"));
+ goto failed;
+ }
+ TSE("E_Devicemgr_Input Init Done");
+ _e_main_shutdown_push(e_devicemgr_input_shutdown);
+
TSB("E_Keyrouter Init");
if (!e_keyrouter_init())
{
#include "e_devicemgr_intern.h"
-#include "e_devicemgr_input_intern.h"
#include "e_devicemgr_conf_intern.h"
#include "e_server_intern.h"
#include "e_comp_intern.h"
e_devicemgr_init(void)
{
E_Devicemgr_Config_Data *dconfig = NULL;
- Eina_Bool res = EINA_FALSE;
EINA_SAFETY_ON_NULL_GOTO(e_comp_get(), failed);
g_rec_mutex_init(&e_devicemgr->device_list_mutex);
- res = e_devicemgr_input_init();
- EINA_SAFETY_ON_FALSE_GOTO(res, input_failed);
-
return EINA_TRUE;
-input_failed:
- e_devicemgr_input_shutdown();
-
failed:
if (e_devicemgr)
{
return EINA_TRUE;
}
-void
+int
e_devicemgr_input_shutdown(void)
{
Ecore_Event_Handler *h = NULL;
if (e_devicemgr->multi)
free(e_devicemgr->multi);
+
+ return EINA_TRUE;
}
#define DETENT_DEVICE_NAME "tizen_detent"
EINTERN Eina_Bool e_devicemgr_input_init(void);
-EINTERN void e_devicemgr_input_shutdown(void);
+EINTERN int e_devicemgr_input_shutdown(void);
EINTERN int e_devicemgr_input_pointer_warp(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface, wl_fixed_t x, wl_fixed_t y);