billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=1fe87a4b2c81c40c2f39d6c24291d0d18ab25c58
commit 1fe87a4b2c81c40c2f39d6c24291d0d18ab25c58 Author: Boris Faure <[email protected]> Date: Sun Nov 29 15:27:34 2020 +0100 termio/win: use Elementary_Cursor.h --- src/bin/termio.c | 5 +++-- src/bin/win.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bin/termio.c b/src/bin/termio.c index a8787ac..c1f75bb 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -1,6 +1,7 @@ #include "private.h" #include <Elementary.h> +#include <Elementary_Cursor.h> #include <Ecore_Input.h> #include "termio.h" @@ -1625,7 +1626,7 @@ _update_link(Termio *sd, Eina_Bool same_geom) } sd->link.objs = eina_list_append(sd->link.objs, o); - elm_object_cursor_set(o, "hand2"); + elm_object_cursor_set(o, ELM_CURSOR_HAND2); evas_object_show(o); evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, _cb_link_down, obj); @@ -1678,7 +1679,7 @@ _hyperlink_end(Termio *sd, Eina_Bool popup_exists; sd->link.objs = eina_list_append(sd->link.objs, o); - elm_object_cursor_set(o, "hand2"); + elm_object_cursor_set(o, ELM_CURSOR_HAND2); evas_object_show(o); evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, _cb_link_down, sd->self); diff --git a/src/bin/win.c b/src/bin/win.c index b390963..2745682 100644 --- a/src/bin/win.c +++ b/src/bin/win.c @@ -2,6 +2,7 @@ #include <assert.h> #include <Elementary.h> +#include <Elementary_Cursor.h> #include <Ecore_Input.h> #include <Ecore_IMF.h> #include <Ecore_IMF_Evas.h> @@ -4214,7 +4215,7 @@ _tab_drag_start(void *data EINA_UNUSED) evas_pointer_canvas_xy_get(_tab_drag->e, &mx, &my); evas_object_move(_tab_drag->icon, mx - w/2, my - h/2); evas_object_raise(o); - elm_object_cursor_set(term->bg, "hand2"); + elm_object_cursor_set(term->bg, ELM_CURSOR_HAND2); term->has_bg_cursor = EINA_TRUE; evas_object_show(o); --
