summaryrefslogtreecommitdiff
path: root/src/winwidget.c
AgeCommit message (Collapse)AuthorLines
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-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).
2015-11-15events: also react to ConfigureNotify after mappingRichard Molitor-0/+10
2015-07-23use --xinerama-index instead of XINERAMA_INDEX to override xinerama screen ↵Daniel Friesel-2/+2
selection
2015-05-23winwidget: resize: only check scale_down when not in fullscreen mode (closes ↵Daniel Friesel-2/+2
#192)
2015-01-09Make --scale-down work with --geometry.Ilion Beyst-22/+33
2014-04-26respect --image-bg=checks in fullscreen mode (closes #156)Daniel Friesel-3/+11
2013-07-28initialize mwmhints to 0Brian Mattern-2/+2
2013-02-24comparing floats with == and != is bad indeed.Daniel Friesel-1/+1
2013-02-14Determine active Xinerama screen by pointer positionDaniel Friesel-6/+11
2012-10-23Do not apply --scale-down to a thumbnail window (#106)Daniel Friesel-1/+3
2012-03-29winwidget_allocate: memset winwid to zeroDaniel Friesel-0/+1
2012-02-12Revert "Merge --scale-down / window dimension change patch"Daniel Friesel-6/+1
This reverts commit b6a1cff6db874f4708d5ff5ea6a17248610b7d90.
2012-02-12Merge --scale-down / window dimension change patchDaniel Friesel-1/+6
2012-02-02Accept offset-only arguments for --geometry (closes #73)Daniel Friesel-4/+5
2012-01-27optional exif support (build with exif=1), initial patch importDaniel Friesel-0/+4
2011-10-31Experimental --auto-zoom tiling support (use -.Z for best results)Daniel Friesel-0/+6
2011-10-21winwidget.c: Add experimental --scale-down tiling support (#54)Daniel Friesel-0/+5
2011-09-13Use enum for opt.image_bg, rename --image-bg default to --image-bg checksDaniel Friesel-3/+3