#define EXECUTIVE_MODE_ENABLED
#include "e.h"
#include <sys/mman.h>
-#ifdef HAVE_WL_DRM
#include <Ecore_Drm.h>
-#endif
E_API int E_EVENT_TEXT_INPUT_PANEL_VISIBILITY_CHANGE = -1;
static Eina_Bool dont_set_ecore_drm_keymap = EINA_FALSE;
return;
}
-#ifdef HAVE_WL_DRM
if (e_config->xkb.use_cache && !dont_set_ecore_drm_keymap)
ecore_drm_device_keyboard_cached_context_set(e_comp_wl->xkb.context);
-#endif
/* assemble xkb_rule_names so we can fetch keymap */
memset(&names, 0, sizeof(names));
/* update compositor keymap */
_e_comp_wl_input_keymap_update(keymap, keymap_path);
-#ifdef HAVE_WL_DRM
if (e_config->xkb.use_cache && !dont_set_ecore_drm_keymap)
ecore_drm_device_keyboard_cached_keymap_set(keymap);
-#endif
/* cleanup */
if (keymap_path) eina_stringshare_del(keymap_path);
#include "e.h"
-#ifdef HAVE_WL_DRM
#include <Ecore_Drm.h>
-#endif
E_API int
e_mouse_update(void)
{
-#ifdef HAVE_WL_DRM
if (strstr(ecore_evas_engine_name_get(e_comp->ee), "drm"))
{
const Eina_List *list, *l;
ecore_drm_device_pointer_left_handed_set(dev, (Eina_Bool)!e_config->mouse_hand);
}
}
-#endif
return 1;
}