To disable cursor we can just use standard ecore_evas and set a
transparent rectangle. But really, it is so common we could add it in
ecore_evas itself

--Gustavo

Sent from my iPhone

On 07/09/2011, at 03:59, Enlightenment SVN <no-re...@enlightenment.org> wrote:

> Log:
> Eskiss: Disable forced dependency on ecore-x
>
> Author:       kakaroto
> Date:         2011-09-06 23:58:54 -0700 (Tue, 06 Sep 2011)
> New Revision: 63257
> Trac:         http://trac.enlightenment.org/e/changeset/63257
>
> Modified:
>  trunk/GAMES/eskiss/configure.ac trunk/GAMES/eskiss/src/bin/main.c
>
> Modified: trunk/GAMES/eskiss/configure.ac
> ===================================================================
> --- trunk/GAMES/eskiss/configure.ac    2011-09-07 06:58:48 UTC (rev 63256)
> +++ trunk/GAMES/eskiss/configure.ac    2011-09-07 06:58:54 UTC (rev 63257)
> @@ -54,8 +54,14 @@
>
> # Eina library
>
> -PKG_CHECK_MODULES(ESKISS, [edje ecore-evas ecore-x ecore-file ecore evas eet 
> eina])
> +PKG_CHECK_MODULES(ESKISS, [edje ecore-evas ecore-file ecore evas eet eina])
> +PKG_CHECK_MODULES(ECORE_X, [ecore-x], [have_ecore_x="yes"], 
> [have_ecore_x="no"])
>
> +AM_CONDITIONAL(HAVE_ECORE_X, test "x$have_ecore_x" = "xyes")
> +if test "x$have_ecore_x" = "xyes"; then
> +   AC_DEFINE(HAVE_ECORE_X, 1, [Ecore-x available])
> +fi
> +
> ### Checks for header files
>
> AC_CHECK_HEADER([chipmunk/chipmunk.h],
>
> Modified: trunk/GAMES/eskiss/src/bin/main.c
> ===================================================================
> --- trunk/GAMES/eskiss/src/bin/main.c    2011-09-07 06:58:48 UTC (rev 63256)
> +++ trunk/GAMES/eskiss/src/bin/main.c    2011-09-07 06:58:54 UTC (rev 63257)
> @@ -24,7 +24,10 @@
> #include "level.h"
> #include "level_editor.h"
> #include "level_chooser.h"
> +
> +#ifdef HAVE_ECORE_X
> #include <Ecore_X.h>
> +#endif
>
> int _drawin_log_domain = -1;
>
> @@ -311,11 +314,13 @@
>         if (is_fullscreen)
>                 ecore_evas_fullscreen_set(application->ee, EINA_TRUE);
>
> +#ifdef HAVE_ECORE_X
>         if (!has_cursor && 
> !strcmp(ecore_evas_engine_name_get(application->ee), "software_x11"))
>         {
>                 Ecore_X_Window ewin = 
> ecore_evas_software_x11_window_get(application->ee);
>                 ecore_x_window_cursor_show(ewin, 0);
>         }
> +#endif
>
>         ecore_evas_show(application->ee);
>
>
>
> ------------------------------------------------------------------------------
> Using storage to extend the benefits of virtualization and iSCSI
> Virtualization increases hardware utilization and delivers a new level of
> agility. Learn what those decisions are and how to modernize your storage
> and backup environments for virtualization.
> http://www.accelacomm.com/jaw/sfnl/114/51434361/
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to