summaryrefslogtreecommitdiff
path: root/src/menu.c
AgeCommit message (Collapse)AuthorLines
2023-11-26Fix for right-click buffer overflowAmetov Imil-10/+6
2023-07-12update copyrightBirte Kristina Friesel-1/+1
2023-01-22src: Fix build with clang 16orbea-1/+1
These are no longer supported in upcoming clang versions. warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
2020-11-30menu: Set flip/rotate menu title based on --editDaniel Friesel-1/+6
If --edit is set, it is indeed "Edit in Place". Otherwise, it changes the view, but not the image on the disk.
2020-11-14Add menu entries for mirror and flip operationsEelis van der Weegen-0/+10
2020-04-11update copyrightDaniel Friesel-1/+1
2018-11-05Remove deprecated option --menu-bgDaniel Friesel-1/+1
2018-05-11Update copyright noticeDaniel Friesel-1/+1
2016-05-28New sort option: dirnameguns-0/+8
Sort filelist by dirname, then by name. This results in file entries sorting before subdirectory entries. Useful in conjunction with upcoming prev_dir and next_dir navigation actions.
2016-05-28Add --sort mtime to menu and fix menu when sorting by mtimeguns-9/+40
We did not preload when SORT_MTIME, so check opt.sort > SORT_MTIME before offering to sort by file size. The CB_* enum block was run through s/, /,\n\t/g for legibility.
2016-04-13fix image resize for w key and menu option (#229)Daniel Friesel-1/+1
2016-02-16menu: Fix typoDaniel Friesel-1/+1
2015-07-23use --xinerama-index instead of XINERAMA_INDEX to override xinerama screen ↵Daniel Friesel-3/+2
selection
2014-08-28menu: do not rerender all images when toggling keep_zoom_vpDaniel Friesel-1/+0
This way, the current image settings are used when enabling keep_zoom_vp. It used to reset the current image to default, which probably wasn't very intuitive.
2014-05-06Fix dead code found by LLVM's scan-build utilityDaniel Friesel-1/+0
2014-02-27always use absolute paths in .fehbgDaniel Friesel-8/+4
2013-01-30Add option and keybinding to keep zoom and viewport settings.Daniel Friesel-1/+11
Patch by sdaau on IRC. Thanks!
2012-05-25Remove --menu-style handlingDaniel Friesel-10/+2
2012-05-19menu: simpler background, remove drop shadowsDaniel Friesel-9/+1
2012-03-07menu: Remove dead icon codeDaniel Friesel-163/+109
2012-03-07menu: Save data as short, (void *) was pointless. Fixes amd64 compiler warnings.Daniel Friesel-115/+113
2011-09-26Add support for multiple files in --bg-options (closes #64)Daniel Friesel-8/+8
Squashed commit of the following: commit 55e66e15af898f4c01d7d265013124fefce795e4 Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 19:59:46 2011 +0200 Save all filenames in ~/.fehbg commit afc2774f315fc379aa96de58decf8370772036af Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 19:24:38 2011 +0200 Update test/bg --bg-fill images (off-by-one due to changed implementation) commit bd4210cff2e895414df12868f6cab7f193c5adf5 Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 14:47:00 2011 +0200 Fix feh_wm_set_bg_maxed commit d9ada9dc2a74aef6ae0924e9c0ff296b94ee25bc Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 14:39:11 2011 +0200 Fix for non-xinerama setups commit be2cf0f1f8c00b737e7141a372d3cbc9db4c949f Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 14:24:44 2011 +0200 Move wallpaper calculation code into separate functions commit 4e07c1f9734569fdd778a813c5a85c63b51b3175 Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 13:01:46 2011 +0200 Remove unnecessary temporary variable commit 23d1d733b21d1560e1fbcadddc34cae3d666b21d Author: Daniel Friesel <derf@finalrewind.org> Date: Mon Sep 26 12:46:25 2011 +0200 Initial conversion, works with --bg-scale
2011-09-07feh_reload_image: Fix regression of old caching issue (closes #63)Daniel Friesel-1/+1
This was broken by the changes allowing --reload to retry ad infinitum. Now force_new is used to decide whether or not to work around the Imlib2 caching issue. Because of this, a few feh_reload_image calls needed to be changed.
2011-09-03Rename support.c to wallpaper.cDaniel Friesel-1/+1
2011-09-02menu.c: feh_menu_entry_get_size: Remove unused parameterDaniel Friesel-2/+2
2011-09-01Revert "feh_reload_image: Always die if reload failed"Daniel Friesel-1/+1
This reverts commit 8b79bc33f37db12cbb672bdb47dcfeb0f2030bce.
2011-08-31feh_reload_image: Always die if reload failedDaniel Friesel-1/+1
This fixes a segfault in --reload when the image becomes unloadable while feh is running. Note that this does not affect --reload with more than one file: If the current image is removed, feh will simply jump to the next image. feh will only quit if the file still exists, but can no longer be loaded.
2011-08-11Show correct file number after deleting imageDaniel Friesel-4/+4
In the image_remove function, slideshow_change_image needs to be called before removing the image from the filelist. Because of this, the "x of y" displayed by --draw-filename is wrong (y is 1 too high). This commit introduces a new 'render' argument to slideshow_chingae_image. The image_remove function calls it with render=0, edits the filelist and then runs by winwidget_render_image itself. Patch by Yu-Jie Lin.
2011-08-10Remove unused variablesDaniel Friesel-8/+3
2011-08-09Add flip/mirror in-placec edit actions (derf/#9)Yu-Jie Lin-1/+1
2011-05-09Fix --zoom max/fill documentation plus bug in menu code (thx nepraith)Daniel Friesel-2/+3
2011-04-30Replace some printf calls by fputs/putcDaniel Friesel-7/+0
2011-04-27Remove "About feh" menu item & imageDaniel Friesel-33/+1
2011-03-21Add method to forcefully disable antialiasing (closes GH-17)Daniel Friesel-5/+5
2011-01-22Add --zoom fill as equivalent to --auto-zoomDaniel Friesel-2/+5
2011-01-17Copyright FooDaniel Friesel-0/+1
2010-09-06Work around Xinerama Fuckups: Read screen number from XINERAMA_SCREEN env varDaniel Friesel-0/+3
2010-08-27Remove --bg-seamlessDaniel Friesel-20/+1
2010-07-17--debug-level → --debugDaniel Friesel-20/+20
2010-07-08opt.no_jump_on_resort -> opt.jump_on_resortDaniel Friesel-4/+4
2010-07-08Remove --menu-border optionDaniel Friesel-4/+2
2010-06-11debug.h: call_level is no longer relevant, pretty debug message formatDaniel Friesel-1/+1
2010-06-10Remove unused functions / function argumentsDaniel Friesel-4/+4
2010-06-10Remove D_ENTER/D_RETURN, use gdb tracepoints + readelf/awk magic insteadDaniel Friesel-120/+56
2010-05-03menu: Remove xinerama toggle, add draw_actions toggle insteadDaniel Friesel-23/+18
2010-05-03Fix memory leak related to the menuDaniel Friesel-0/+3
The menu background images were not properly free()d
2010-05-03Rework menu.c & fix various compiler warnings (from menu_code) + update TODODaniel Friesel-530/+363
2010-03-21Remove unused functionsDaniel Friesel-45/+0
2010-03-01Apply patchto add --bg-fill (fullscreen background preserving aspect ratio)Daniel Friesel-16/+58
2010-02-13Change source code indentation (indent -kr -i8 -hnl, mainly)Daniel Friesel-2011/+1637