Commit 98eedcea authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

also mark images as removed/processed when clicking on them in thumbnail mode...

also mark images as removed/processed when clicking on them in thumbnail mode and --action is specifed
parent 9bc266a0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@ git HEAD
      (previously second-to-last) image (patch by Lior Shiponi)
    * Allow --sort and --randomize to override each other (most recently
      specified option wins) instead of always preferring --sort
    * Thumbnail mode: Mark image as processed when executing an action
      (--action) by clicking on an image

Sun, 24 May 2015 11:45:18 +0200

+5 −2
Original line number Diff line number Diff line
@@ -378,12 +378,15 @@ static void feh_event_handle_ButtonRelease(XEvent * ev)
				y /= winwid->zoom;
				thumbfile = feh_thumbnail_get_file_from_coords(x, y);
				if (thumbfile) {
					if (opt.actions[0])
					if (opt.actions[0]) {
						feh_action_run(thumbfile, opt.actions[0]);
					else
						if (!opt.hold_actions[0])
							feh_thumbnail_mark_removed(thumbfile, 0);
					} else {
						feh_thumbnail_show_fullsize(thumbfile);
					}
				}
			}
		} else {
			opt.mode = MODE_NORMAL;
			winwid->mode = MODE_NORMAL;