summaryrefslogtreecommitdiff
path: root/src/winwidget.c
AgeCommit message (Collapse)AuthorLines
2019-04-12Handle no-longer-valid files in inotify-based auto-reloadDaniel Friesel-1/+1
2019-04-01Merge remote-tracking branch 'original/master'Sven Willner-3/+0
2019-02-11remove debug printf3.1.2Daniel Friesel-1/+0
2018-12-23Remove useless assignmentsPavel Shlyak-2/+0
It is a naive way of fixing it :) Needs attentive review
2018-09-13Merge branch 'master' of github.com:derf/fehSven Willner-177/+91
2018-09-13Inotify: watch parent directory instead of just fileSven Willner-12/+13
2018-08-19Antialias rotated images even at native resolutionulteq-1/+1
Partial fix of: #310
2018-07-17Improve screen clip featureulteq-6/+10
2018-06-27Merge branch 'simplify-zoom' of https://github.com/ulteq/feh into ↵Daniel Friesel-157/+56
ulteq-simplify-zoom
2018-05-11Update copyright noticeDaniel Friesel-1/+1
2018-05-11Show correct filelist position in windows opened from thumbnail modeDaniel Friesel-2/+0
Addresses part of issue #75
2018-03-10Adapt the new --offset optionulteq-16/+6
2018-03-10Simplify --keep-zoom-vp handlingulteq-6/+7
2018-03-10Fix indentationulteq-11/+10
2018-03-10Remove unused codeulteq-8/+0
2018-03-10Fix --screen-clip window dimension calculationulteq-2/+6
2018-03-10Fix window auto-resize with --keep-zoom-vp enabledulteq-1/+2
--keep-zoom-vp will no longer block the dynamic window resizing mechanism.
2018-03-10Remove duplicate bounds checkingulteq-6/+0
2018-03-10Run draw checks after zoom calculationulteq-8/+8
2018-03-10Fix draw checks conditionulteq-2/+3
2018-03-10Allow empty string as --geometry argumentulteq-1/+1
Passing an empty string to the --geometry option will enable fixed geometry mode without having to specify anything else
2018-03-10Fix zoom ratio calculationulteq-103/+20
This simplifies the logic behind the automatic zoom ratio calculation, which is used by both --auto-zoom and --scale-down.
2018-03-09rename --inner-geometry to --offset, discard width and height valuesDaniel Friesel-8/+8
2018-03-08add (experimental and still slightly buggy) --inner-geometry featureDaniel Friesel-0/+26
See #278
2018-02-27Merge branch 'custom-background-color' of https://github.com/ulteq/feh into ↵Daniel Friesel-12/+14
ulteq-custom-background-color
2018-02-14Only check image dimensions on the fly in multiwindow and slideshow modeDaniel Friesel-1/+1
This introduces a new feh_should_ignore_image function which is called at appropriate places in those modes to skip images which are loadable but undesired.
2018-01-24Simplify window title generationulteq-21/+8
2018-01-17Allow any XColor values as --image-bg argumentPaul O'Day-12/+14
2017-12-28Only calculate needed zoom when necessaryulteq-6/+4
This will prevent unnecessary calls to 'feh_calc_needed_zoom'
2017-12-27Utilize the imlib cache properlyulteq-1/+1
This prevents removing the image data from the cache, when moving back and forth between images. As suggested by the Imlib documentation: http://alien.cern.ch/cache/imlib2-1.0.6/doc/
2017-12-07Disable automatic zoom adjustment of thumbnail windowsDaniel Friesel-4/+4
Closes #351
2017-10-27fixed inotify for overwritten filesSven Willner-3/+10
2017-09-01changed option from inotify to auto-reloadSven Willner-1/+1
2017-09-01fixed inotify for thumbnail modeSven Willner-21/+29
2017-08-24added inotify supportSven Willner-1/+66
2017-02-26Also update window title for thumbnail windows (closes #280)Daniel Friesel-3/+8
2017-02-23Fix memory leak when closing images opened from thumbnail modeDaniel Friesel-0/+2
2017-02-16I made a derp2.18.2Daniel Friesel-1/+1
2017-01-11rewrite window title whenever the image is rendered (closes #266)Daniel Friesel-0/+6
2016-08-31winwidget: hostname always has a trailing null byte in the !HOST_NAME_MAX branchDaniel Friesel-1/+0
2016-08-31Only use sysconf() if HOST_NAME_MAX is undefinedNiclas Zeising-2/+15
On some systsems sysconf() can return a very large value, unsuitable for use with malloc(). Only use sysconf() if HOST_NAME_MAX isn't avalable.
2016-08-31Fix build on FreeBSD.Niclas Zeising-6/+12
FreeBSD lacks the constant HOST_NAME_MAX, instead using sysconf(3) to find out the value of the maximum host name length at run time. Patch to use this instead of HOST_NAME_MAX. This brings with it the need to use malloc instead of using a statically sized buffer for the host name, since the size of the buffer cannot be known at run time. Errors from sysconf or malloc just means that the entire block of code is skipped over (the same way it's skipped if the call to gethostname() fails), rather than returning any kind of error to the caller or logging an error message somewhere.
2016-08-28Only set _NET_WM_PID once, also set WM_CLIENT_MACHINEDaniel Friesel-6/+14
2016-08-27Add support for _NET_WM_PIDKlee Dienes-0/+6
2016-04-24winwidget_render_image: re-zoom image in scaledown/geometry mode after ↵Daniel Friesel-2/+11
ConfigureNotify event
2016-04-16bugfix and version bump (closes #230)2.15.2Daniel Friesel-1/+1
2016-04-14also respect w key in --geometry mode, update changelog and manualDaniel Friesel-1/+2
2016-04-13fix image resize for w key and menu option (#229)Daniel Friesel-4/+9
2015-11-15winwidget.c: never scale down thumbnail list windowDaniel Friesel-1/+3
this fixes a segfault when combining --scale-down and --thumbnails on a sufficiently large directory
2015-11-15zoom: implement scale-down without flickerRichard Molitor-25/+8
this actually uses the old "force geometry" workaround to get the scale down behaviour (which makes the code a lot cleaner) by first setting the geometry after the window is created (to avoid creating a 0x0 sized window, which X does not like).