Commit Graph

473 Commits

Author SHA1 Message Date
Bert Münnich 745eacbcf5 Updated unstable version number 2013-09-07 17:59:58 +02:00
Peter Hofmann b98a48576e Warp pointer on first/last pixel
Previously, the pointer would get warped when it had left the window.
This doesn't work when sxiv is run in fullscreen mode (or similar -- see
dwm's monocle mode): The pointer can never leave the window in such
situations.

To fix this, warp the pointer when it's on the first/last pixel. To
avoid an endless warping loop, the new position must be at least one
pixel away from the next warp position.
2013-09-07 17:10:59 +02:00
Bert Münnich 26a624a543 Added options for anti-alias & alpha layer coloring to config.def.h
Also removed now obsolete -p command line option; fixes issue #98
2013-08-22 12:59:05 +02:00
Bert Münnich fb6e4bdd98 Only print marked files when -o is given
Fallback to print all files, if no images are marked, was kind of
irritating.
2013-08-22 09:44:14 +02:00
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
2013-08-10 21:18:53 +02:00
Bert Münnich 84d77b1732 Updated unstable version number 2013-08-10 15:59:45 +02:00
Bert Münnich c6bc6069d6 Changed key bindings for flipping to bar & underscore 2013-08-10 15:58:16 +02:00
Bert Münnich 56142bd3ba Refactored merged rotation code 2013-08-10 15:55:18 +02:00
Bastien Dejean 7e51c35801 Handle 180 degrees image rotation 2013-08-10 15:33:14 +02:00
Bert Münnich 68ff9d71f1 Fixed typo in README.md 2013-06-02 12:31:27 +02:00
Bert Münnich b4346a9397 Stable version 1.1.1 2013-06-02 12:04:40 +02:00
Bert Münnich b1a24cb018 Fixed build for giflib version >= 5.0; fixed issue #90 2013-04-21 13:55:08 +02:00
Bert Münnich 593da23cf3 Use bgcol as window background pixel; fixed issue #89 2013-04-14 19:50:47 +02:00
Bert Münnich 16a598ca12 Updated source tarball URLs in README.md 2013-04-06 14:23:58 +02:00
Bert Münnich aac28cce7a Fixed non-ASCII characters in window bar, issue #88 2013-04-06 14:04:46 +02:00
Bert Münnich 264a345a98 Updated .gitignore 2013-04-02 22:48:13 +02:00
Bert Münnich 7ea8a4ed2f Updated source tarball URLs in README.md 2013-04-02 19:43:55 +02:00
Bert Münnich 98972e98f9 Fixed segfault caused by FD_ISSET() on negative fd
Reported by Kris Siwiec
2013-04-02 19:32:59 +02:00
Bert Münnich af69b2a7bb Stable version 1.1 2013-03-30 13:14:10 +01:00
Bert Münnich 6f05e77728 New options: -[io], read/write files from/to stdin/out
Fixes issue #84
2013-03-19 21:14:58 +01:00
Bert Münnich 447bc1c784 Merge branch 'asyncinfo' 2013-03-19 21:14:58 +01:00
Bert Münnich 825c52c33f Made bar fields more distinguishable 2013-03-19 21:14:58 +01:00
Bert Münnich 38ecea3b4d Polished info script execution 2013-03-19 21:14:56 +01:00
Bert Münnich 30802cec0f Spawn info script & update bar contents only when needed 2013-03-19 21:14:32 +01:00
Bert Münnich f3298400e6 Spawn and read from info script without blocking 2013-03-19 21:13:44 +01:00
Bert Münnich 9ee34477f8 Applied code style on merged changes 2013-03-04 19:23:07 +01:00
Bert Münnich ce8460108a Merge pointer warping in i_drag from Rob Pilling 2013-03-04 19:18:58 +01:00
Rob Pilling c8fcc3d354 Wrap the pointer when the edge of the window is reached 2013-03-03 22:33:55 +00:00
Bert Münnich 408b75a0b4 Ignore dotfiles for -r 2013-02-11 21:39:41 +01:00
Bert Münnich c6bfac1566 Merge branch 'sizehints', fixed issue #78 2013-02-09 19:07:29 +01:00
Bert Münnich 1e2ddc44d8 No checks on window size, use whatever the user has specified 2013-02-09 17:24:41 +01:00
Bert Münnich a527025314 Correctly set window height after i_fit_to_img() 2013-02-09 01:39:18 +01:00
Bert Münnich cef8d51153 Refined US{Position,Size} & WinGravity handling 2013-02-09 01:36:10 +01:00
Bert Münnich bf41012493 Merge remote-tracking branch '4z3/set-user-specified-sizehints' into sizehints
Conflicts:
	window.c
2013-02-09 01:21:57 +01:00
Bert Münnich f7301cf4f9 Correctly updated window pixmap after i_fit_to_img() 2013-02-08 23:26:06 +01:00
Bert Münnich e810072d71 Use bool from stdbool.h after switching to C99 2013-02-08 23:20:11 +01:00
Bert Münnich b3f3bc29a1 Be honest about using C99 2013-02-08 22:07:48 +01:00
Bert Münnich 08ae25da22 Refactored function definitions to use dangling brace 2013-02-08 22:05:31 +01:00
Bert Münnich 6d3bbc6d5e Updated/corrected license header 2013-02-08 21:52:41 +01:00
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.
2013-01-30 20:51:20 +01:00
Bert Münnich bcbe3b1475 Fixed issue #77, limit geometry info to first image frame 2013-01-29 18:45:10 +01:00
Bert Münnich aa6ccf42b8 Merge branch 'userinfo' 2013-01-27 18:03:07 +01:00
Bert Münnich 9c0a53bc34 Added documentation for image-info script 2013-01-27 18:03:01 +01:00
hut 3a0a1ae889 Removed old definitions from commands.h 2013-01-27 13:10:28 +01:00
Bert Münnich cae5358234 Added skeleton for image-info user script 2013-01-12 23:40:16 +01:00
Bert Münnich b6a6c260e1 Moved thumbnail cache to ~/.sxiv/cache/ 2013-01-12 23:40:16 +01:00
muennich d6a475e4b1 Simplified status bar, filled by user script 2013-01-12 23:40:16 +01:00
Bert Münnich 385ba28fd7 Fixed completely insane {C,LD}FLAGS -I/-L settings 2013-01-12 23:39:59 +01:00
Bert Münnich ec7382702a Made Makefile more verbose 2013-01-10 19:11:57 +01:00
Bert Münnich eea8b7a98d Fixed compilation with giflib version 4.2.1 2013-01-04 20:55:30 +01:00