yoz pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=f17a3c2d90f03fc9f2d3f875e47d097d4d4e64e8
commit f17a3c2d90f03fc9f2d3f875e47d097d4d4e64e8 Author: Michael Bouchaud <[email protected]> Date: Thu Feb 6 22:23:28 2014 +0000 entrance: warn-- --- src/bin/entrance_gui.c | 8 ++++++++ src/daemon/entrance_action.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/bin/entrance_gui.c b/src/bin/entrance_gui.c old mode 100644 new mode 100755 index 3a8a410..df959a7 --- a/src/bin/entrance_gui.c +++ b/src/bin/entrance_gui.c @@ -669,6 +669,14 @@ _entrance_gui_cb_window_property(void *data EINA_UNUSED, int type EINA_UNUSED, v PT("screen managed\n"); elm_exit(); } + + char *name = ecore_x_window_prop_string_get(ecore_x_window_root_get(ev->win), ECORE_X_ATOM_NET_WM_NAME); + if (name) + { + PT("screen managed though not compliant\n"); + elm_exit(); + } + return ECORE_CALLBACK_DONE; } diff --git a/src/daemon/entrance_action.c b/src/daemon/entrance_action.c index e3526fc..06296a1 100644 --- a/src/daemon/entrance_action.c +++ b/src/daemon/entrance_action.c @@ -166,7 +166,7 @@ _entrance_action_grub2(void *data) i = (size_t)data; snprintf(buf, sizeof(buf), - "grub-reboot %d && %s", i, entrance_config->command.reboot); + "grub-reboot %lu && %s", i, entrance_config->command.reboot); _action_exe = ecore_exe_run(buf, NULL); } --
