fix teamwork with 1.9
this id encoding only gets applied for wayland-running clients...not sure if htis is the best way to detect it but it works
This commit is contained in:
parent
734b652cbf
commit
7a2d665610
|
@ -561,6 +561,7 @@ _update_link(Evas_Object *obj, Termio *sd,
|
|||
#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 (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
|
||||
#else
|
||||
|
@ -634,6 +635,7 @@ _remove_links(Termio *sd, Evas_Object *obj)
|
|||
#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 (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
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue