Commit e1622286 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Experimental --auto-zoom tiling support (use -.Z for best results)

parent 5d73b093
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
git HEAD

    * Experimental --scale-down tiling support (see #54)
    * Experimental --scale-down and --auto-zoom tiling support (see #54)
    * Fix http image load for long image names (closes debian #646421)

Mon, 10 Oct 2011 12:25:00 +0200  Daniel Friesel <derf@finalrewind.org>
+6 −0
Original line number Diff line number Diff line
@@ -416,6 +416,12 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias)
				     || (winwid->has_rotated)))
		feh_draw_checks(winwid);

	if (!winwid->full_screen && opt.zoom_mode
				     && (winwid->zoom == 1.0) && !opt.geom_flags
				     && (winwid->w > winwid->im_w) && (winwid->h > winwid->im_h))
		feh_calc_needed_zoom(&(winwid->zoom), winwid->im_w, winwid->im_h, winwid->w, winwid->h);


	if (resize && (winwid->full_screen || opt.geom_flags)) {
		int smaller;	/* Is the image smaller than screen? */
		int max_w = 0, max_h = 0;