Commit 346459a1 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

keyevents.c: Make toggle_aliasing actually affect the current window

parent 6f08fd45
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,8 @@ git HEAD
      option is now always checked when these options are used
    * Set _NET_WM_NAME and _NET_WM_ICON_NAME properties
      <http://github.com/derf/feh/issues/44>
    * The 'A' key (toggle_aliasing) now actually changes the current window,
      and not just the default for new windows

Sat, 23 Apr 2011 22:00:27 +0200  Daniel Friesel <derf@finalrewind.org>

+2 −1
Original line number Diff line number Diff line
@@ -552,7 +552,8 @@ void feh_event_handle_keypress(XEvent * ev)
	}
	else if (feh_is_kp(&keys.toggle_aliasing, keysym, state)) {
		opt.force_aliasing = !opt.force_aliasing;
		winwidget_rerender_all(0);
		winwid->force_aliasing = !winwid->force_aliasing;
		winwidget_render_image(winwid, 0, 0);
	}
	else if (feh_is_kp(&keys.toggle_filenames, keysym, state)) {
		opt.draw_filename = !opt.draw_filename;