diff --git a/src/bin/termio.c b/src/bin/termio.c index e8569899..ea33ad2c 100644 --- a/src/bin/termio.c +++ b/src/bin/termio.c @@ -560,7 +560,7 @@ _update_link(Evas_Object *obj, Termio *sd, _y += sd->mouse.cy * sd->font.chh; #if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8) xwin = elm_win_window_id_get(sd->win); -# if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR > 8) // not a typo +# if (ELM_VERSION_MAJOR > 1) || ((ELM_VERSION_MAJOR == 1) && (ELM_VERSION_MINOR > 8)) // not a typo if (strstr(ecore_evas_engine_name_get(ecore_evas_ecore_evas_get(evas_object_evas_get(sd->win))), "wayland")) xwin = ((uint64_t)xwin << 32) + (uint64_t)getpid(); # endif @@ -634,7 +634,7 @@ _remove_links(Termio *sd, Evas_Object *obj) oy += sd->mouse.cy * sd->font.chh; #if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8) xwin = elm_win_window_id_get(sd->win); -# if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR > 8) // not a typo +# if (ELM_VERSION_MAJOR > 1) || ((ELM_VERSION_MAJOR == 1) && (ELM_VERSION_MINOR > 8)) // not a typo if (strstr(ecore_evas_engine_name_get(ecore_evas_ecore_evas_get(evas_object_evas_get(sd->win))), "wayland")) xwin = ((uint64_t)xwin << 32) + (uint64_t)getpid(); # endif