summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-07-28 20:47:44 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-07-28 20:49:01 +0900
commitda663898da2af468abef36f92ab2eb9b49f1798b (patch)
tree692112281726bd434cb680fdf720bffd1ba790f5
parent35febc367d9ce0266f400f52c6fadcfec8ccc4a3 (diff)
downloadenlightenment-da663898da2af468abef36f92ab2eb9b49f1798b.tar.gz
bg: Fix bg with single jpeg images (no edj)
When selecting a jpeg file directly as wallpaper, it will look very blurry, clearly loaded as a low-resolution image and then scaled up. Solution: don't load at size 64x64! For @OnlyHuman, thanks for the report. @fix
-rw-r--r--src/bin/e_bg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_bg.c b/src/bin/e_bg.c
index d31338db59..9a1ffc972d 100644
--- a/src/bin/e_bg.c
+++ b/src/bin/e_bg.c
@@ -265,6 +265,7 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
{
o = e_icon_add(e_comp->evas);
e_icon_file_key_set(o, bgfile, NULL);
+ e_icon_scale_size_set(o, 0);
e_icon_fill_inside_set(o, 0);
}
else