From 3af807dafaf318160c5d31ade7bfc76a8408997c Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Mon, 20 Apr 2020 09:22:05 -0400 Subject: [PATCH] wl-wl: Remove commented out code and fix formatting --- src/modules/wl_wl/e_mod_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/wl_wl/e_mod_main.c b/src/modules/wl_wl/e_mod_main.c index 54be20d31..5c320d70b 100644 --- a/src/modules/wl_wl/e_mod_main.c +++ b/src/modules/wl_wl/e_mod_main.c @@ -21,6 +21,7 @@ _cb_sync_done(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) e_comp_wl_output_init(NULL, NULL, NULL, 0, 0, w * 2 / 3, h * 2 / 3, 0, 0, 0, 0, 0, 0); + it = ecore_wl2_display_inputs_get(ecore_wl2_window_display_get(ecore_evas_wayland2_window_get(e_comp->ee))); EINA_ITERATOR_FOREACH(it, input) ecore_wl2_input_pointer_set(input, NULL, 0, 0); @@ -60,7 +61,8 @@ e_modapi_init(E_Module *m) return NULL; } } - ecore_wl2_window_type_set(ecore_evas_wayland2_window_get(e_comp->ee), ECORE_WL2_WINDOW_TYPE_TOPLEVEL); + ecore_wl2_window_type_set(ecore_evas_wayland2_window_get(e_comp->ee), + ECORE_WL2_WINDOW_TYPE_TOPLEVEL); ecore_evas_data_set(e_comp->ee, "comp", e_comp); ecore_evas_title_set(e_comp->ee, "Enlightenment: WL-WL"); @@ -75,8 +77,6 @@ e_modapi_init(E_Module *m) e_comp_wl_input_keyboard_enabled_set(EINA_TRUE); e_comp_wl_input_touch_enabled_set(EINA_TRUE); - /* e_comp->pointer = */ - /* e_pointer_window_new(ecore_evas_window_get(e_comp->ee), EINA_TRUE); */ e_comp->pointer = e_pointer_canvas_new(e_comp->ee, EINA_TRUE); e_comp->pointer->color = EINA_TRUE;