elm_win: support trapping ecore_evas calls (aka: e17 support)
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Thu, 19 Jul 2012 04:35:50 +0000 (04:35 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Thu, 19 Jul 2012 04:35:50 +0000 (04:35 +0000)
commit278662fa7bff485a119f87153e3771fdc501d404
tree3c0c43960e12fa84a3e66314b7767f5d7cabfb39
parent264d7011426802eb893fa02b35975a4fc2e4e416
elm_win: support trapping ecore_evas calls (aka: e17 support)

Allows setting a trap in elm_win that intercepts calls to
ecore_evas. If there is a trap and the trap returns EINA_FALSE, then
the corresponding call is NOT issued. If it does not exist or returns
EINA_TRUE, then the call is executed.

Enlightenment window manager will set these traps and will call
e_border directly, allowing E17 to use Elementary! A major feature
given e_widgets painful usage.

This should also help integrating into Wayland or even debug.

SVN revision: 74156
src/lib/elm_win.c
src/lib/elm_win.h