summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-01-18 20:12:09 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-01-18 20:12:09 +0100
commit11bfbd0d740ab4744f786f6ba3eb3d170a496f35 (patch)
tree0ea353c3404f48c10482779dd6ed12e65f2af244
parente63c83205558ba60fb6743d19c1b4460d52074b5 (diff)
downloadelementary-devs/bu5hm4n/fix.tar.gz
elm_win: return window_id instead of surface_iddevs/bu5hm4n/fix
with a x11 window we are returning a id which corresponse to the event_window id of a key down event. This should also be the case of a wl window.
-rw-r--r--src/lib/elm_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 050e82b9e..5f0234c06 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -5613,14 +5613,14 @@ _elm_win_window_id_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd)
{
#if HAVE_ELEMENTARY_WL2
if (sd->wl.win)
- return (Ecore_Window)ecore_wl2_window_surface_id_get(sd->wl.win);
+ return (Ecore_Window)ecore_wl2_window_id_get(sd->wl.win);
if (sd->parent)
{
Ecore_Wl2_Window *parent;
parent = elm_win_wl_window_get(sd->parent);
if (parent)
- return (Ecore_Window)ecore_wl2_window_surface_id_get(parent);
+ return (Ecore_Window)ecore_wl2_window_id_get(parent);
return 0;
}
#endif