[elm_win] Handling the engine creation failed
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 29 Jul 2011 12:06:45 +0000 (21:06 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Fri, 29 Jul 2011 12:06:45 +0000 (21:06 +0900)
Change-Id: I5942cdf94e148b7ed8d1a9fdb30cff78796871eb

src/lib/elm_win.c

index 788bf71..08ea663 100644 (file)
@@ -1407,6 +1407,7 @@ elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type)
    do {                                                               \
         CRITICAL(engine " engine creation failed. Trying software X11."); \
         win->ee = ecore_evas_software_x11_new(NULL, 0, 0, 0, 1, 1);      \
+        elm_engine_set(ELM_SOFTWARE_X11);      \
    } while (0)
 #define ENGINE_COMPARE(name) (!strcmp(_elm_config->engine, name))