forked from enlightenment/terminology
I cleverly added a comment stating that this #if wasn't a typo
...it was a typo
This commit is contained in:
parent
1dfbbe8c85
commit
954d6a0463
|
@ -560,7 +560,7 @@ _update_link(Evas_Object *obj, Termio *sd,
|
||||||
_y += sd->mouse.cy * sd->font.chh;
|
_y += sd->mouse.cy * sd->font.chh;
|
||||||
#if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8)
|
#if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8)
|
||||||
xwin = elm_win_window_id_get(sd->win);
|
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"))
|
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();
|
xwin = ((uint64_t)xwin << 32) + (uint64_t)getpid();
|
||||||
# endif
|
# endif
|
||||||
|
@ -634,7 +634,7 @@ _remove_links(Termio *sd, Evas_Object *obj)
|
||||||
oy += sd->mouse.cy * sd->font.chh;
|
oy += sd->mouse.cy * sd->font.chh;
|
||||||
#if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8)
|
#if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8)
|
||||||
xwin = elm_win_window_id_get(sd->win);
|
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"))
|
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();
|
xwin = ((uint64_t)xwin << 32) + (uint64_t)getpid();
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in New Issue