discomfitor pushed a commit to branch master.
commit 70d71d21a01c9786cf6d8eba92c9c64676efd5ad
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Sep 10 13:57:01 2013 +0100
use new elm_win_window_id_get to return wayland-compatible surface id:
terminology is now wayland-teamwork compatible
---
src/bin/termio.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 5c3e9a8..ffe76af 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -470,11 +470,15 @@ _update_link(Evas_Object *obj, Termio *sd,
if ((sd->link.string[0] == '/') ||
(link_is_url(sd->link.string)))
{
Evas_Coord _x = ox, _y = oy;
- Ecore_X_Window xwin;
+ Ecore_Window xwin;
_x += sd->mouse.cx * sd->font.chw;
_y += sd->mouse.cy * sd->font.chh;
+#if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8)
+ xwin = elm_win_window_id_get(sd->win);
+#else
xwin = elm_win_xwindow_get(sd->win);
+#endif
ty_dbus_link_mousein(xwin, sd->link.string, _x, _y);
}
for (y = sd->link.y1; y <= sd->link.y2; y++)
@@ -540,7 +544,11 @@ _remove_links(Termio *sd, Evas_Object *obj)
ox += sd->mouse.cx * sd->font.chw;
oy += sd->mouse.cy * sd->font.chh;
- xwin = elm_win_xwindow_get(sd->win);
+#if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 8)
+ xwin = elm_win_window_id_get(sd->win);
+#else
+ xwin = elm_win_xwindow_get(sd->win);
+#endif
ty_dbus_link_mouseout(xwin, sd->link.string, ox, oy);
}
free(sd->link.string);
--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk