summaryrefslogtreecommitdiff
path: root/ewl
diff options
context:
space:
mode:
Diffstat (limited to 'ewl')
-rw-r--r--ewl/ewl/no-x-test.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/ewl/ewl/no-x-test.patch b/ewl/ewl/no-x-test.patch
index e69de29bb2..c75da4ac04 100644
--- a/ewl/ewl/no-x-test.patch
+++ b/ewl/ewl/no-x-test.patch
@@ -0,0 +1,32 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- ewl/test/ewl_embed_test.c~no-x-test
++++ ewl/test/ewl_embed_test.c
+@@ -41,11 +41,12 @@
+
+ ewl_init(&argc, argv);
+ ecore_evas_init();
+-
++#if 0
+ if (!(ee = ecore_evas_software_x11_new(NULL, 0, 0, 0, 320, 240))) {
+ printf("Failed to open display, exiting\n");
+ exit(1);
+ }
++#endif
+ ecore_evas_title_set(ee, "EWL Embed Test App");
+ ecore_evas_name_class_set(ee, "EWL TEST APP", "EWL TEST APP");
+ ecore_evas_show(ee);
+@@ -58,8 +59,10 @@
+ evas_object_show(bg);
+
+ embed = ewl_embed_new();
++#if 0
+ embobj = ewl_embed_evas_set(EWL_EMBED(embed), ecore_evas_get(ee),
+ EWL_EMBED_EVAS_WINDOW(ecore_evas_software_x11_window_get(ee)));
++#endif
+ ewl_embed_focus_set(EWL_EMBED(embed), TRUE);
+ evas_object_layer_set(embobj, 1);
+ evas_object_show(embobj);