diff --git a/legacy/emotion/src/bin/emotion_test_main.c b/legacy/emotion/src/bin/emotion_test_main.c index 2a137eac06..2ddd35c4d7 100644 --- a/legacy/emotion/src/bin/emotion_test_main.c +++ b/legacy/emotion/src/bin/emotion_test_main.c @@ -87,6 +87,10 @@ main_start(int argc, char **argv) { mode = 2; } + else if (!strcmp(argv[i], "-xr")) + { + mode = 3; + } } } #if HAVE_ECORE_EVAS_X @@ -101,6 +105,8 @@ main_start(int argc, char **argv) if (mode == 2) ecore_evas = ecore_evas_fb_new(NULL, 0, startw, starth); #endif + if (mode == 3) + ecore_evas = ecore_evas_xrender_x11_new(NULL, 0, 0, 0, startw, starth); #else startw = 240; @@ -836,6 +842,9 @@ main(int argc, char **argv) else if (!strcmp(argv[i], "-fb")) { } + else if (!strcmp(argv[i], "-xr")) + { + } else if (!strcmp(argv[i], "-xine")) { module_filename = "emotion_decoder_xine.so";