Ecore_Evas: Patch from Robert Bradford <robert.bradford@intel.com>:
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 28 May 2012 12:24:30 +0000 (12:24 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 28 May 2012 12:24:30 +0000 (12:24 +0000)
commitb4896ffaff592d44ef5d40a159822a39299f2e82
tree62cd1947da5aa3e388fd8fd3ab19e02770295589
parentf9fae99845f0e72e864a874786c9937f369facea
Ecore_Evas: Patch from Robert Bradford <robert.bradford@intel.com>:

The challenge here is that the native window representation is stored
in Ecore_Evas's prop.window. But currently there is no checking of
what driver the Ecore_Evas is for when calls are made to e.g.

ecore_evas_software_x11_window_get.

The attached change to Ecore makes the appropriate functions return 0
or NULL if the driver for the Ecore doesn't match as expected. This
can then be used to identify if an Ecore_Evas is e.g. from X11 or from
Wayland.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@71453 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/ecore_evas/ecore_evas.c
src/lib/ecore_evas/ecore_evas_directfb.c
src/lib/ecore_evas/ecore_evas_x.c