summaryrefslogtreecommitdiff
path: root/src/winwidget.c
AgeCommit message (Collapse)AuthorLines
2019-10-11Allow setting the X11 class hint as an option.Olof-Joachim Frahm-1/+1
2019-07-08Merge branch 'geometry' of https://github.com/CrackedP0t/feh into ↵Daniel Friesel-1/+8
CrackedP0t-geometry
2019-04-18inotify: Support files in current working directoryDaniel Friesel-0/+9
2019-04-18Gracefully handle inotify failuresDaniel Friesel-2/+2
2019-04-18print error string if an inotify operation failsDaniel Friesel-2/+2
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-03-14Get geometry after mappingElaina Martineau-0/+2
2019-03-14Get actual geometry from Xlib after resizeElaina Martineau-1/+6
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