summaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-03-21 20:23:33 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-03-21 20:23:33 +0100
commit56dec873222e8881847ebcb246eaf67d69e4e86a (patch)
treeb5b92d0c160b005a5a49ade5ccb857376ceb4859 /src/slideshow.c
parent283618a4a2dbf9a9f64c98d120b88ff272a7d777 (diff)
Add method to forcefully disable antialiasing (closes GH-17)
Diffstat (limited to 'src/slideshow.c')
-rw-r--r--src/slideshow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slideshow.c b/src/slideshow.c
index a75affd..497b9bc 100644
--- a/src/slideshow.c
+++ b/src/slideshow.c
@@ -163,7 +163,7 @@ void feh_reload_image(winwidget w, int resize, int force_new)
w->im_w = gib_imlib_image_get_width(w->im);
w->im_h = gib_imlib_image_get_height(w->im);
}
- winwidget_render_image(w, resize, 1);
+ winwidget_render_image(w, resize, 0);
winwidget_rename(w, title);
free(title);
@@ -264,7 +264,7 @@ void slideshow_change_image(winwidget winwid, int change)
winwidget_reset_image(winwid);
winwid->im_w = gib_imlib_image_get_width(winwid->im);
winwid->im_h = gib_imlib_image_get_height(winwid->im);
- winwidget_render_image(winwid, 1, 1);
+ winwidget_render_image(winwid, 1, 0);
s = slideshow_create_name(FEH_FILE(current_file->data));
winwidget_rename(winwid, s);