discomfitor pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=254130334014ef19bb5fa5dff521d854475cbf20
commit 254130334014ef19bb5fa5dff521d854475cbf20 Author: Mike Blumenkrantz <[email protected]> Date: Tue Sep 23 17:38:22 2014 -0400 +elm_win_trap_data_get() needed when using win traps to get the trap ctx at non-hookpoints --- src/lib/elm_win.c | 6 ++++++ src/lib/elm_win.eo | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 43a3488..116896a 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -3534,6 +3534,12 @@ _elm_win_noblank_get(Eo *obj EINA_UNUSED, Elm_Win_Data *pd) return pd->noblank; } +EOLIAN static void * +_elm_win_trap_data_get(Eo *obj EINA_UNUSED, Elm_Win_Data *pd) +{ + return pd->trap_data; +} + EAPI Evas_Object * elm_win_util_standard_add(const char *name, diff --git a/src/lib/elm_win.eo b/src/lib/elm_win.eo index 54cc537..7084ab1 100644 --- a/src/lib/elm_win.eo +++ b/src/lib/elm_win.eo @@ -1168,6 +1168,19 @@ class Elm_Win (Elm_Widget, Elm_Interface_Atspi_Window, bool noblank; /*@ If true, the window is set to noblank */ } } + trap_data { + get { + /*@ + + Get the trap data associated with a window + @since 1.12 + + @ingroup Win */ + } + values { + void *trap_data; /*@ The trap data of the window */ + } + } } methods { constructor { --
