diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-03-21 20:23:33 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-03-21 20:23:33 +0100 |
commit | 56dec873222e8881847ebcb246eaf67d69e4e86a (patch) | |
tree | b5b92d0c160b005a5a49ade5ccb857376ceb4859 /src/menu.c | |
parent | 283618a4a2dbf9a9f64c98d120b88ff272a7d777 (diff) |
Add method to forcefully disable antialiasing (closes GH-17)
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1268,7 +1268,7 @@ void feh_menu_cb_opt_fullscreen(feh_menu * m, feh_menu_item * i) winwidget_destroy_xwin(m->fehwin); winwidget_create_window(m->fehwin, m->fehwin->im_w, m->fehwin->im_h); - winwidget_render_image(m->fehwin, 1, 1); + winwidget_render_image(m->fehwin, 1, 0); winwidget_show(m->fehwin); #ifdef HAVE_LIBXINERAMA @@ -1343,7 +1343,7 @@ void feh_menu_cb(feh_menu * m, feh_menu_item * i, int action, void *data) winwidget_resize(m->fehwin, m->fehwin->im_w, m->fehwin->im_h); } winwidget_reset_image(m->fehwin); - winwidget_render_image(m->fehwin, 1, 1); + winwidget_render_image(m->fehwin, 1, 0); break; case CB_RELOAD: feh_reload_image(m->fehwin, 0, 0); @@ -1404,7 +1404,7 @@ void feh_menu_cb(feh_menu * m, feh_menu_item * i, int action, void *data) opt.draw_filename = TRUE; else opt.draw_filename = FALSE; - winwidget_rerender_all(0, 1); + winwidget_rerender_all(0); break; case CB_OPT_DRAW_ACTIONS: MENU_ITEM_TOGGLE(i); @@ -1412,7 +1412,7 @@ void feh_menu_cb(feh_menu * m, feh_menu_item * i, int action, void *data) opt.draw_actions = TRUE; else opt.draw_actions = FALSE; - winwidget_rerender_all(0, 1); + winwidget_rerender_all(0); break; case CB_OPT_KEEP_HTTP: MENU_ITEM_TOGGLE(i); @@ -1440,7 +1440,7 @@ void feh_menu_cb(feh_menu * m, feh_menu_item * i, int action, void *data) opt.zoom_mode = ZOOM_MODE_FILL; else opt.zoom_mode = 0; - winwidget_rerender_all(1, 1); + winwidget_rerender_all(1); break; } return; |