Bert Münnich
fe3a1e326f
Further simplified thumbnail marks
10 lat temu
Bert Münnich
50652f63d9
Full redraw when removing files during thumbnail reloading; fixes issue #164
10 lat temu
Bert Münnich
e49d38d6f9
Fixed wrong thumbnail-to-file mappings caused by file deletions
10 lat temu
Bert Münnich
e267dc7793
Pass marked files to external key handler in thumbnail mode; fixes issue #135
10 lat temu
Bert Münnich
284be74927
Count number of marked files
10 lat temu
Bert Münnich
5b01c15176
Unified file index variable for image & thumbnail mode
10 lat temu
Bert Münnich
61f61cae5f
Generalized thumbnail loading, allows easier reloading of thumbnails later on
10 lat temu
Bert Münnich
bb6721549b
Overhauled window drawing, yet again; fixes issue #155
- Buffer for window content is bigger than the window, minimizes artifacts
when window is resized
- Back to using XSetWindowBackgroundPixmap() instead of XCopyArea(),
no need to handle exposure events; X server can show gray background directly
after resize event before sxiv redraws the window contents
10 lat temu
Bert Münnich
9c92de8584
Added support for multiple commands per key/button mapping; elegant fix for issue #150
10 lat temu
Bert Münnich
06164c29b7
Revised command structure and key and mouse button mappings
10 lat temu
Bert Münnich
5d0679b855
Show key handler status in bar while it is running
10 lat temu
Miroslav Koskar
4cbc7346ff
Timeout initial redraw
10 lat temu
Bert Münnich
6d7acac3d1
Use real path of all files internally, requires _XOPEN_SOURCE>=500, fixes issue #137
11 lat temu
Bert Münnich
653a6ee83b
Warn once when external key combo is used and key-handler not installed
11 lat temu
Bert Münnich
e2fa49ecfe
Unified X atom initialization
11 lat temu
András Mohari
54d7b7f20f
Use a prefix key to execute the key handler
The default prefix key is C-x, and can be changed in config.def.h. The
first key pressed after the prefix key will be passed the external key
handler, unless the key is Escape, which is used to cancel the prefix.
11 lat temu
Bert Münnich
ed69b483ed
Double click on thumbnail to open image
11 lat temu
Bert Münnich
304fd382db
Adhere to XDG Base Directory Specification; fixes issue #124
11 lat temu
Bert Münnich
48954a163a
Allow config.h to use multimedia keys (XF86_XK_*); fixes issue #123
11 lat temu
Bert Münnich
e82397db15
Fixed handling of overloaded key mappings
Issue described here:
https://bbs.archlinux.org/viewtopic.php?pid=1117294#p1117294
11 lat temu
Bert Münnich
9632dd88b9
Fixup for 9574150
11 lat temu
Bert Münnich
9574150f2d
Check file modification time after key handler
11 lat temu
Bert Münnich
cd34aa2a6b
Fixed slideshow delay corruption after GIF animation
11 lat temu
Bert Münnich
6a0fa2507c
Slideshow mode is back, in a simplified version
11 lat temu
Bert Münnich
f2e0c492bd
Moved external shell commands into exec/key-handler script
Gets called on all unset key mappings. Arguments are: key combo and
current file. Thanks to Francesco Orsenigo (xarvh) for the idea.
11 lat temu
Bert Münnich
b2eae528ed
Proper support for Ctrl/Shift/Alt modifiers in key & mouse mappings
11 lat temu
Bastien Dejean
4780ec5463
Close info file descriptor after reading
11 lat temu
Bert Münnich
cc479ca5ac
Fixed segfault when removing first image from file list, fixes issue #112
11 lat temu
Bert Münnich
50f9ad14de
Refactored remote changes
11 lat temu
Bert Münnich
38bc23405d
Highlight edges of marked images in thumbnail mode
11 lat temu
András Mohari
0353e6eea2
Add support for changing the gamma value
11 lat temu
Bert Münnich
450c1ed9b5
Fixed inconsistencies in navigation when removing invalid files
11 lat temu
Bert Münnich
7d878bd16d
Added file marks; fixes issue #94
- Command it_toggle_image_mark (bound to 'm') toggles mark of current
image
- Command it_navigate_marked (bound to 'N'/'P') can be used to go to
the next/previous marked image
- When option -o is given, all marked files get printed
11 lat temu
Bert Münnich
98972e98f9
Fixed segfault caused by FD_ISSET() on negative fd
Reported by Kris Siwiec
11 lat temu
Bert Münnich
6f05e77728
New options: -[io], read/write files from/to stdin/out
Fixes issue #84
12 lat temu
Bert Münnich
825c52c33f
Made bar fields more distinguishable
12 lat temu
Bert Münnich
38ecea3b4d
Polished info script execution
12 lat temu
Bert Münnich
30802cec0f
Spawn info script & update bar contents only when needed
12 lat temu
Bert Münnich
f3298400e6
Spawn and read from info script without blocking
12 lat temu
Bert Münnich
08ae25da22
Refactored function definitions to use dangling brace
12 lat temu
Bert Münnich
6d3bbc6d5e
Updated/corrected license header
12 lat temu
tv
3f25b907bd
When using -g hint the WM that we've got user specified geometry
Without this some window managers (e.g. fvwm) will ignore the initial
window position and place it according to it's own rules.
12 lat temu
muennich
d6a475e4b1
Simplified status bar, filled by user script
12 lat temu
Bert Münnich
cd929eabfe
Fixed issue #73
12 lat temu
muennich
5106472d8b
Fixed issue #72
12 lat temu
Bert Münnich
1ae06ffd09
Next try to fix issue #71
12 lat temu
Bert Münnich
4a5d5d26aa
Overhauled window drawing
- Draw onto pixmap as before, but use the same size for the pixmap as
for the window, allocate new pixmap after configure requests
- Use XCopyArea() instead of XSetWindowBackgroundPixmap(), which now
requires handling of Expose events
12 lat temu
Bert Münnich
fd519ffc40
Disregard obsolete events, fixed issue #64
12 lat temu
Bert Münnich
f2a3d73212
New command: i_alternate, go to last image, issue #65
12 lat temu
Bert Münnich
d7ff54bb6e
Optimized redraw timeout after window resize for tiling window managers; related to issue #44
13 lat temu