summaryrefslogtreecommitdiff
path: root/src/keyevents.c
AgeCommit message (Collapse)AuthorLines
2011-08-31feh_reload_image: Always die if reload failedDaniel Friesel-3/+3
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-29Various code fixupsDaniel Friesel-1/+1
* remove unused variable Im1 in filelist.c * options are initialised as 0, so only explicitly set those to 0 for which it makes sense because of their context * Make a few warnings about wrong option combinations fatal
2011-08-18--action: Reload image if hold_action flag (;) is set (closes #59)Daniel Friesel-3/+8
An action may be used to alter the image or specific parts of it displayed by --info, so if a user invokes an action with hold_action set, the image and all relevant information must be reloaded.
2011-08-11Show correct file number after deleting imageDaniel Friesel-8/+8
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-11keyevents.c: Do not force aliasing when using scroll_*_pageDaniel Friesel-4/+4
2011-08-10Remove unused variablesDaniel Friesel-2/+1
2011-08-09Add documentation and default keybindings for flip/mirrorDaniel Friesel-0/+2
2011-08-09Merge patch by livibetter: Add flip and mirror in-place edit actions (closes ↵Daniel Friesel-2/+12
#53)
2011-08-09Add flip/mirror in-placec edit actions (derf/#9)Yu-Jie Lin-2/+12
2011-08-02keyevents.c: Support Shift modifier (see github issue #30, patch by Yu-Jie Lin)Daniel Friesel-1/+9
2011-07-31allow multiple modifierYu-Jie Lin-7/+7
Signed-off-by: Yu-Jie Lin <livibetter@gmail.com>
2011-07-31add scroll by a page actionsYu-Jie Lin-0/+28
A page is the window width or height. Signed-off-by: Yu-Jie Lin <livibetter@gmail.com>
2011-06-07Add toggle_info key (closes #48)Daniel Friesel-0/+7
2011-05-10Respect thumbnail selection keys only in thumbnail listDaniel Friesel-5/+5
2011-05-10Fix zoom_default with --scale-down (closes #41)Daniel Friesel-2/+7
2011-05-10keyevents.c: Make toggle_aliasing actually affect the current windowDaniel Friesel-1/+2
2011-05-02Use next/prev/render keys to select images in thumbnail mode (closes #26)Daniel Friesel-1/+12
2011-04-30Replace some printf calls by fputs/putcDaniel Friesel-11/+4
2011-04-26Only create caption directory when writing out a caption (closes #42)Daniel Friesel-2/+3
2011-03-21Add method to forcefully disable antialiasing (closes GH-17)Daniel Friesel-12/+19
2011-01-26Restrict modifiers to Control/Mod1/Mod4, ignore NumLock (closes GH-31)Daniel Friesel-11/+1
2011-01-25key bindings: Don't get confused by keystates we don't support (see GH-30)Daniel Friesel-59/+57
2011-01-22Make in/out zoom use equal ratio, double image movement stepsizeDaniel Friesel-5/+5
2011-01-17Copyright FooDaniel Friesel-0/+1
2011-01-17Ignore Shift keystate, shift/non-shift keysyms differ anyways.Daniel Friesel-4/+9
2011-01-16feh/keys: Allow action unbindingDaniel Friesel-1/+1
2011-01-15Fix scrolling defaults / binding namesDaniel Friesel-16/+16
2011-01-15feh/keys: Further error handling (invalid keysyms etc.)Daniel Friesel-2/+5
2011-01-15Update testsDaniel Friesel-1/+1
2011-01-15Check XDG_CONFIG_HOME for feh/keys as wellDaniel Friesel-3/+12
2011-01-15keys: Allow more modifiers, warn for unknown onesDaniel Friesel-0/+19
2011-01-15keys: Allow comments, warn when encountering invalid actionsDaniel Friesel-1/+3
2011-01-14Configurable menu keybindings, too.Daniel Friesel-20/+26
2011-01-14Always overwrite/cancel out default keybindingsDaniel Friesel-1/+3
2011-01-14Read ~/.config/feh/keys for keybindings. prev/next are even tested!Daniel Friesel-0/+151
2011-01-13First step towards configurable key bindingsDaniel Friesel-195/+195
2010-12-30Fix <keypad *> on --scale-downDaniel Friesel-0/+1
2010-09-14Remove --action-hold-slide, add per-action method instead.Daniel Friesel-19/+17
When executing an action starting with a semicolon, feh will not skip to the next slide. The semicolon is not passed on to the executing shell, of course. This is kinda ugly, but at least it makes action handling somewhat more flexible.
2010-09-06Work around Xinerama Fuckups: Read screen number from XINERAMA_SCREEN env varDaniel Friesel-0/+3
2010-09-05Make pan keys behave like scroll keysDaniel Friesel-8/+8
2010-09-05Option --action-hold-slide. If specified, when in slideshow mode images will ↵Levi Smith-3/+5
not automatically change after running user action. Otherwise, slideshow images will cycle after action as usual.
2010-09-051) winwidget.c winwidget.h New function winwidget_update_caption using code ↵Levi Smith-1/+3
in winwindget_render_image. This code was removed from the latter, and replaced with a call to winwidget_update_caption. 2) Image caption is updated after running action when in slideshow mode. 3) Running action in slideshow mode no longer changes the image automatically.
2010-08-22Panning with CTRL + arrow keysDaniel Friesel-25/+45
2010-08-15Improve keyboard zoom modeDaniel Friesel-3/+12
2010-08-14Add up arrow / down arrow for zoomingDaniel Friesel-4/+7
2010-07-26Set correct window title when starting feh in paused modeDaniel Friesel-1/+1
2010-07-17--debug-level → --debugDaniel Friesel-2/+2
2010-07-02Sanitise image offsets after pressing kp - / kp +Daniel Friesel-0/+2
2010-06-24Disable filelist saving from thumbnail mode (buggy and probably not useful)Daniel Friesel-1/+5
2010-06-19Make <keypad /> and <keypad *> actually usefulDaniel Friesel-0/+2