From 66a355d5655c616c584ecad299129790690ce140 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Thu, 31 Aug 2017 19:41:12 +0900 Subject: [PATCH] elm_test: Scale down icon by 8x This makes the icon test actually work. Otherwise the icon data is too big and basically seems ignored by the compositor or X. Note: In E (X11) it seems that the window icon remains unchanged? xprop shows the proper data, though. Ping @zmike. --- src/bin/elementary/test_icon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/elementary/test_icon.c b/src/bin/elementary/test_icon.c index 832eebb209..9fa7dc7afe 100644 --- a/src/bin/elementary/test_icon.c +++ b/src/bin/elementary/test_icon.c @@ -109,6 +109,7 @@ test_icon(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info /* Set window icon too */ ic = evas_object_image_filled_add(evas_object_evas_get(win)); + evas_object_image_load_scale_down_set(ic, 8); evas_object_image_file_set(ic, buf, NULL); elm_win_icon_object_set(win, ic); evas_object_show(ic);